<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 27/07/2022 à 17:03, Matthew Savoie a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CY1PR03MB217128271B0B1AAAA8407AB0E8979@CY1PR03MB2171.namprd03.prod.outlook.com">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<div class="WordSection1">
<p class="MsoNormal">Hi Andrew,</p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">> I have run this command with gdal
3.4.3 and gdal 3.5.1 and get different output files.<br>
<br>
Can you compare the output of the two versions of gdalinfo ?<br>
This should determine whether the difference is when reading
or writing.<br>
</p>
<p class="MsoNormal">Good idea, I did that and there is no
difference in the output of gdalinfo between 3.4.3 and 3.5.1
on the test.nc file.</p>
</div>
</div>
</blockquote>
<p>Are you 100% sure about that ? It is highly unlikely that the
difference would be on the side of the output driver (GeoTIFF),
and much more likely on the reading side (netCDF). There have been
adjustments recently in the netCDF driver to be a bit more
restrictive regarding exposing geotransforms (the driver could
expose non relevant geotransforms), that have had side effects on
some files where they could be legitimate.</p>
<p>You can likely workaround the issue by definining the
configuration option / environment variable
GDAL_NETCDF_IGNORE_XY_AXIS_NAME_CHECKS to YES (cf
<a class="moz-txt-link-freetext" href="https://gdal.org/drivers/raster/netcdf.html#georeference">https://gdal.org/drivers/raster/netcdf.html#georeference</a>). Buf if
you can provide a link to the file that could be used to examine
further whether the file is defective (an expected attribute
missing), or the driver could be enhanced to recognize it better.</p>
<p>Even<br>
</p>
<blockquote type="cite"
cite="mid:CY1PR03MB217128271B0B1AAAA8407AB0E8979@CY1PR03MB2171.namprd03.prod.outlook.com">
<div class="WordSection1">
<div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Matt Savoie</p>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>