<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>P.S.: I notice a change from 3.6.3 to 3.6.4.</div>

<div> </div>

<div>docker run ghcr.io/osgeo/gdal:ubuntu-full-3.6.3 gdalinfo --formats | grep -i netcdf</div>

<div>  netCDF -raster,multidimensional raster,vector- (rw+vs): Network Common Data Format<br/>
 </div>

<div>
<div>docker run ghcr.io/osgeo/gdal:ubuntu-full-3.6.4 gdalinfo --formats | grep -i netcdf<br/>
  netCDF -raster,multidimensional raster,vector- (rw+s): Network Common Data Format</div>

<div> </div>

<div>So, the "v" disappeared in the driver description between those two versions...</div>

<div>
<div> </div>

<div>Still the question for me is, is this on purpose?</div>

<div> </div>

<div>Release notes for 3.6.4 have two possibly relevant items:</div>

<div> </div>

<div>Port<br/>
- userfaultfd: avoid it to stall on 32bit and test real working of syscall in CPLIsUserFaultMappingSupported()</div>

<div>netCDF driver:<br/>
- restore capability of reading CF-1.6-featureType vector layers even if the conventions >= CF 1.8, and improve featureType=trajectory by adding the time attribute (fixes #7550)</div>

<div> </div>

<div> </div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag, 12. Oktober 2023 um 14:01 Uhr<br/>
<b>Von:</b> "Stefan Blumentrath via gdal-dev" <gdal-dev@lists.osgeo.org><br/>
<b>An:</b> "gdal-dev" <gdal-dev@lists.osgeo.org><br/>
<b>Betreff:</b> [gdal-dev] Cannot choose netCDF driver instead of HDF5 for nc files</div>

<div name="quoted-content">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi,</div>

<div> </div>

<div>I am wondering if the behavior of the NetCDF driver changed in recent GDAL version(s)?</div>

<div> </div>

<div>I do have the netCDF driver installed and also HDF5, which has been shaddowing the netCDF driver. So I used to do the following:</div>

<div>export GDAL_SKIP=HDF5</div>

<div>gdalinfo /vsicurl/<a href="https://nbstds.met.no/thredds/fileServer/NBS/S2B/2022/07/03/S2B_MSIL1C_20220703T112119_N0400_R037_T32VLN_20220703T121203.nc" target="_blank">https://nbstds.met.no/thredds/fileServer/NBS/S2B/2022/07/03/S2B_MSIL1C_20220703T112119_N0400_R037_T32VLN_20220703T121203.nc</a></div>

<div>But this gives me now:</div>

<div>ERROR 4: `/vsicurl/<a href="https://nbstds.met.no/thredds/fileServer/NBS/S2B/2022/07/03/S2B_MSIL1C_20220703T112119_N0400_R037_T32VLN_20220703T121203.nc'" target="_blank">https://nbstds.met.no/thredds/fileServer/NBS/S2B/2022/07/03/S2B_MSIL1C_20220703T112119_N0400_R037_T32VLN_20220703T121203.nc'</a> not recognized as a supported file format.</div>

<div> </div>

<div>(or in Python syntax:</div>

<div>from osgeo import gdal</div>

<div>gdal.GetDriverByName("HDF5").Deregister()</div>

<div>ds = gdal.Open("/vsicurl/<a href="https://nbstds.met.no/thredds/fileServer/NBS/S2B/2022/07/03/S2B_MSIL1C_20220703T112119_N0400_R037_T32VLN_20220703T121203.nc" target="_blank">https://nbstds.met.no/thredds/fileServer/NBS/S2B/2022/07/03/S2B_MSIL1C_20220703T112119_N0400_R037_T32VLN_20220703T121203.nc</a>")</div>

<div>)</div>

<div> </div>

<div>If I do not deregister the HDF5 driver the dataset is opened, but with the HDF5 driver, and I want to use the netCDF driver for those CF-convention files...</div>

<div> </div>

<div>I am on Ubuntu 22.04, GDAL 3.6.4, released 2023/04/17...</div>

<div> </div>

<div>Any idea how that can be solved? Is it a bug or a feature?</div>

<div>Thanks for helping in advance!</div>

<div> </div>

<div>Cheers</div>

<div>Stefan</div>
</div>
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></div>
</div>
</div>
</div></div></body></html>