<html><head></head><body><div class="ydp2fdec214yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div><div><div dir="ltr">Hello Jeff!</div><div dir="ltr">Thank you so much for your help!!</div><div dir="ltr" data-setdir="false">I tried to follow your steps and works well for the transformation from tif to netcdf. I can use ncdump to check info on the file and I can plot it normally.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Now, when I reproject the file to lat/lon coord using your command:</div><div dir="ltr"><br clear="none"></div><div dir="ltr"><div dir="ltr">gdalwarp -s_srs EPSG:3411 -t_srs EPSG:4326 N_197901_concentration_v3.0.nc N_197901_concentration_v3.0_4326.nc</div></div><div><br clear="none"></div><div dir="ltr" data-setdir="false">and when I try to get info on the file using ncdump -h I get:</div><div dir="ltr">ncdump: N_197901_concentration_v3.0_4326.nc: NetCDF: Unknown file format<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Any idea as to why that would happen?</div><div dir="ltr"><br></div><div dir="ltr" data-setdir="false">Tony</div></div></div><div><br></div>
        
        </div><div id="yahoo_quoted_5007638162" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Friday, November 22, 2019, 01:19:50 PM EST, Jeff McKenna <jmckenna@gatewaygeomatics.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Hi Tony,<br clear="none"><br clear="none">Here are my steps.<br clear="none"><br clear="none">Have a nice weekend.<br clear="none"><br clear="none"><br clear="none">***********<br clear="none"><br clear="none">#use gdalinfo to get summary (see <a shape="rect" href="https://gdal.org/programs/gdalinfo.html" target="_blank">https://gdal.org/programs/gdalinfo.html</a>)<br clear="none">gdalinfo -noct N_197901_concentration_v3.0.tif<br clear="none"><br clear="none">#review source EPSG projection (found from gdalinfo command above)<br clear="none">in web browser goto: <a shape="rect" href="http://epsg.io/3411" target="_blank">http://epsg.io/3411</a><br clear="none"><br clear="none">#review desired output projection (lat/long)<br clear="none">in web browser goto: <a shape="rect" href="http://epsg.io/4326" target="_blank">http://epsg.io/4326</a><br clear="none"><br clear="none">#transform to NetCDF<br clear="none">gdal_translate -f netCDF N_197901_concentration_v3.0.tif <br clear="none">N_197901_concentration_v3.0.nc<br clear="none"><br clear="none">#reproject to lat/long, which is EPSG:4326 <br clear="none">(<a shape="rect" href="https://gdal.org/programs/gdalwarp.html" target="_blank">https://gdal.org/programs/gdalwarp.html</a>)<br clear="none">gdalwarp -s_srs EPSG:3411 -t_srs EPSG:4326 <br clear="none">N_197901_concentration_v3.0.nc N_197901_concentration_v3.0_4326.nc<br clear="none"><br clear="none">#examine reprojected file (verify "corner coordinates" look proper)<br clear="none">gdalinfo -noct N_197901_concentration_v3.0_4326.nc<br clear="none"><br clear="none">   * for all commands I used MS4W 4.0.1, on Windows, from <a shape="rect" href="https://ms4w.com" target="_blank">https://ms4w.com</a><br clear="none"><br clear="none">******<br clear="none"><br clear="none"><br clear="none">-- <br clear="none">Jeff McKenna<br clear="none">MapServer Consulting and Training Services<br clear="none"><a shape="rect" href="https://gatewaygeomatics.com/" target="_blank">https://gatewaygeomatics.com/</a><br clear="none"><br clear="none"><br clear="none"><br clear="none">On 2019-11-22 1:24 PM, Tony L. wrote:<br clear="none">> Hello<br clear="none">> I'm quite new with gdal and would like to use is to rewrite a geotiff of <br clear="none">> NSIDC sea ice concentration from geotiff in polar stereographic <br clear="none">> projection into a netcdf in Lon Lat coordinates<br clear="none">> <br clear="none">> The file is located here: N_197901_concentration_v3.0.tif <br clear="none">> <<a shape="rect" href="https://www.dropbox.com/s/bkqt6qgyhpr7vjk/N_197901_concentration_v3.0.tif?dl=0" target="_blank">https://www.dropbox.com/s/bkqt6qgyhpr7vjk/N_197901_concentration_v3.0.tif?dl=0</a>><br clear="none">> <br clear="none">>     <br clear="none">> <br clear="none">>     <br clear="none">> <br clear="none">> <br clear="none">>     N_197901_concentration_v3.0.tif<br clear="none">> <br clear="none">> Shared with Dropbox<br clear="none">> <br clear="none">> <<a shape="rect" href="https://www.dropbox.com/s/bkqt6qgyhpr7vjk/N_197901_concentration_v3.0.tif?dl=0" target="_blank">https://www.dropbox.com/s/bkqt6qgyhpr7vjk/N_197901_concentration_v3.0.tif?dl=0</a>><div class="yqt2575755283" id="yqtfd83974"><br clear="none">> <br clear="none">> I was able to transform the file into a netcdf file using gdal_translate:<br clear="none">> <br clear="none">> gdal_translate -of netCDF N_197901_concentration_v3.0.tif out.nc<br clear="none">> <br clear="none">> But I'm still trying to figure out how to translate this into Lon Lat <br clear="none">> coordinates (probably using gdalwarp)<br clear="none">> <br clear="none">> Any help would be really appreciated!<br clear="none">> <br clear="none">> Tony</div><br clear="none">> <br clear="none">_______________________________________________<br clear="none">gdal-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:gdal-dev@lists.osgeo.org" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br clear="none"><a shape="rect" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></div></div>
            </div>
        </div></body></html>