<div dir="ltr"><div>Hi,<br clear="all"></div><div>I have a NetCDF file that I cannot share here.</div><div><br></div><div>Using gdalinfo I have the below output.</div><div><br></div><div>Is there any way to tell gdal to read coordinates from the “lon” and “lat” variables/subdatasets, and thus have the coordinates of the vertices not in pixels?</div><div><br></div><div>Thank you very much</div><div><br></div><div><br></div><div>Driver: netCDF/Network Common Data Format<br>Files: none associated<br>Size is 512, 512<br>Subdatasets:<br> SUBDATASET_1_NAME=NETCDF:"<a href="http://out.input.nc">out.input.nc</a>":NO2<br> SUBDATASET_1_DESC=[25x1x229x174] NO2 (32-bit floating-point)<br> SUBDATASET_2_NAME=NETCDF:"<a href="http://out.input.nc">out.input.nc</a>":O3<br> SUBDATASET_2_DESC=[25x1x229x174] O3 (32-bit floating-point)<br> SUBDATASET_3_NAME=NETCDF:"<a href="http://out.input.nc">out.input.nc</a>":PM10<br> SUBDATASET_3_DESC=[25x1x229x174] PM10 (32-bit floating-point)<br> SUBDATASET_4_NAME=NETCDF:"<a href="http://out.input.nc">out.input.nc</a>":PM25<br> SUBDATASET_4_DESC=[25x1x229x174] PM25 (32-bit floating-point)<br> SUBDATASET_5_NAME=NETCDF:"<a href="http://out.input.nc">out.input.nc</a>":Times<br> SUBDATASET_5_DESC=[25x19] Times (8-bit character)<br> SUBDATASET_6_NAME=NETCDF:"<a href="http://out.input.nc">out.input.nc</a>":lat<br> SUBDATASET_6_DESC=[229x174] lat (64-bit floating-point)<br> SUBDATASET_7_NAME=NETCDF:"<a href="http://out.input.nc">out.input.nc</a>":lon<br> SUBDATASET_7_DESC=[229x174] lon (64-bit floating-point)<br> SUBDATASET_8_NAME=NETCDF:"<a href="http://out.input.nc">out.input.nc</a>":pDUST<br> SUBDATASET_8_DESC=[25x1x229x174] pDUST (32-bit floating-point)<br>Corner Coordinates:<br>Upper Left ( 0.0, 0.0)<br>Lower Left ( 0.0, 512.0)<br>Upper Right ( 512.0, 0.0)<br>Lower Right ( 512.0, 512.0)<br>Center ( 256.0, 256.0)</div><div><br></div><div><br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span style="font-size:small">___________________</span><br></div><div dir="ltr"><span style="font-size:small"><br></span></div><div dir="ltr">Andrea Borruso<br>
website: <a href="https://medium.com/tantotanto" target="_blank">https://medium.com/tantotanto</a><br>38° 7' 48" N, 13° 21' 9" E, EPSG:4326<br><span style="font-size:small">___________________</span><br>
<br>
"cercare e saper riconoscere chi e cosa,<br>
in mezzo all’inferno, non è inferno, <br>
e farlo durare, e dargli spazio"<br>
<br>
Italo Calvino<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>