<font face="courier new,monospace">Frank,<br>
I have been working on this issue for some time and the driver has a
quirky way of handling spatial reference parameters.  If a tag is not
present, the netCDFDataset::FetchCopyParms() function returns a default
value.  Currently, those default values are all specified as 0.0.  Because of this, there is no error and my projection is set with several 0.0 values.  I have fixed the standard parallel issue on my local machine and it now supports CF-1 tags(standard_parallel) as well as gdal tags (standard_parallel_1 and standard_parallel_2)</font>.  <span style="font-family: courier new,monospace;">I would like to continue to update the driver for other tags that have been added to CF, but still support gdal tags as well, but I am not sure if my programming methods will be suitable.  I would hate to do a bunch of work and not be able to incorporate it.  Any thoughts on how to go about this?<br>

<br>kss<br clear="all"></span># ===================<br>Kyle Shannon<br>Physical Science Technician<br>RMRS Fire Sciences Lab<br>Fire, Fuels &amp; Smoke - RWU 4405<br>5775 Highway 10 W.<br>Missoula, MT 59808<br>(406) 829-6954<br>

<a href="mailto:kshannon@fs.fed.us">kshannon@fs.fed.us</a><br># ===================<br>
<br><br><div class="gmail_quote">On Tue, Jan 12, 2010 at 1:57 PM, Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">Kyle Shannon wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
After a little digging, it appears that the netCDF driver does not support the tag:<br>
<br>
Lambert_Conformal:standard_parallel<br>
<br>
it supports:<br>
Lambert_Conformal:standard_parallel_1<br>
and:<br>
Lambert_Conformal:standard_parallel_2<br>
<br>
I am not sure if the tag is out of specification, or if the driver needs to be updated.  I also notice OGRSpatialReference has a separate function for setting a Lambert Conformal Conic with single parallel:<br>
<br>
OGRErr SetLCC1SP( *double* dfCenterLat, *double* dfCenterLong, ...<br>
<br>
but this is not referenced in the netCDF driver.<br>
<br>
So, my next question is:<br>
Can you specify the value of SP_1 and SP_2 as the same parallel in the standard LCC, or do you have to set LCC1SP<br>
<br>
Thanks everyone for your patience,<br>
</blockquote>
<br></div>
Kyle,<br>
<br>
Good investigating.  I&#39;d suggest filing a ticket, ideally referencing<br>
an example file.  It should be fairly easily added.<br>
<br>
Best regards,<br><font color="#888888">
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Programmer for Rent<br>
<br>
</font></blockquote></div><br>