<div dir="ltr"><div>NCL has an undocumented interface to the Proj4 cartographic projection library. If you are familiar with "proj4 string" specifications of projection-parameters, I'll point you to where to look. Its pretty easy, just give source-projstr, dest-projstr, and arrays of x/y/z coordinaters.</div><div><br></div><div> If you are not familiar with proj4, if you could send me the output of "gdalinfo" from both your source GeoTIFF and the converted NetCDF, I'll see if I can'tget you started.</div><div><br></div><div>Rick</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 25, 2019 at 2:03 PM Tony L. via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div dir="ltr">Hello</div><div dir="ltr"><div dir="ltr"><span style="color:rgb(51,51,51);font-family:Verdana,sans-serif;font-size:12px">I'm trying to rewrite a GeoTIFF of NSIDC sea ice concentration from GeoTIFF in polar stereographic projection into a NetCDF in Lon Lat coordinates</span></div></div><div dir="ltr"><br></div><div dir="ltr">The file is located here: <a href="https://www.dropbox.com/s/bkqt6qgyhpr7vjk/N_197901_concentration_v3.0.tif?dl=0" rel="nofollow" target="_blank">https://www.dropbox.com/s/bkqt6qgyhpr7vjk/N_197901_concentration_v3.0.tif?dl=0</a></div><div><br></div><div dir="ltr">I was able to transform the file into a netcdf file using gdal_translate:</div><div dir="ltr"><br></div><div dir="ltr"><div>gdal_translate -of netCDF N_197901_concentration_v3.0.tif <a href="http://out.nc" target="_blank">out.nc</a></div><div><br></div><div dir="ltr">But I'm still trying to figure out how to translate this into Lon Lat coordinates using NCL commands.</div><div dir="ltr"><br></div><div dir="ltr">Any help would be really appreciated!</div><div dir="ltr"><br></div><div dir="ltr">Tony</div></div></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>