<div dir="auto">Thank you all for the helpful information.</div><div dir="auto">I tried the conversion with the -ts and without but I did not see a big difference in the output Geotiff image. </div><div dir="auto"><br></div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 10, 2023 at 08:31 Marius Jigmond <<a href="mailto:mariusjigmond@hotmail.com">mariusjigmond@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
The following works for the proper orientation but there's a shift. I would consult the documentation as they usually specify conversion params.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
gdal_translate -of GTiff -a_srs EPSG:4326 -a_ullr -179.9 -72.7 180 72.7 -co COMPRESS=LZW NETCDF:GLOBCOMPLIR_nc.2023080819:data ofn.tif<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
</div>
<div id="m_-5245194218507391018appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_-5245194218507391018divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gdal-dev <<a href="mailto:gdal-dev-bounces@lists.osgeo.org" target="_blank">gdal-dev-bounces@lists.osgeo.org</a>> on behalf of Dori <<a href="mailto:izzybitsie@gmail.com" target="_blank">izzybitsie@gmail.com</a>><br>
<b>Sent:</b> Wednesday, August 9, 2023 2:29 PM<br>
<b>To:</b> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a> <<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>><br>
<b>Subject:</b> [gdal-dev] convert NETCDF to Geotiff upside down</font>
<div> </div>
</div></div><div dir="ltr">
<div>Hi,
<div dir="auto">I tried to convert the NETCDF stored in <a href="https://noaa-gmgsi-pds.s3.amazonaws.com/index.html#GMGSI_LW/202308/08/19/GLOBCOMPLIR_nc.2023080819" target="_blank">
https://noaa-gmgsi-pds.s3.amazonaws.com/index.html#GMGSI_LW/202308/08/19/GLOBCOMPLIR_nc.2023080819</a> to Geotiff format using following command:</div>
<div dir="auto"><br>
</div>
<div dir="auto">gdal_translate 0ol GTiff -a_srs EPSG:4326 -aullr -180 -72.7 179.9 -72.7 -co “COMPRESS=LZW” NETCDF:GLOBCOMPLIR_nc.2023080819:data ofn.tif</div>
<div dir="auto"><br>
</div>
<div dir="auto">ofn.tif is upside down. North latitude points are in South and viceversa.</div>
<div dir="auto"><br>
</div>
<div dir="auto">How can I solve this upside down output?<br>
</div>
<div dir="auto">What causes this?</div>
<div dir="auto"><br>
</div>
<div dir="auto">I did notice that the points in the NETCDF file are not equidistant what could be my issue. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Thank you for any hint on how to go about getting the correct Geotiff output</div>
<div dir="auto"><br>
</div>
</div>
</div>
</blockquote></div></div>