P.S.: I notice a change from 3.6.3 to 3.6.4.
 
docker run ghcr.io/osgeo/gdal:ubuntu-full-3.6.3 gdalinfo --formats | grep -i netcdf
  netCDF -raster,multidimensional raster,vector- (rw+vs): Network Common Data Format
 
docker run ghcr.io/osgeo/gdal:ubuntu-full-3.6.4 gdalinfo --formats | grep -i netcdf
  netCDF -raster,multidimensional raster,vector- (rw+s): Network Common Data Format
 
So, the "v" disappeared in the driver description between those two versions...
 
Still the question for me is, is this on purpose?
 
Release notes for 3.6.4 have two possibly relevant items:
 
Port
- userfaultfd: avoid it to stall on 32bit and test real working of syscall in CPLIsUserFaultMappingSupported()
netCDF driver:
- 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)
 
 
Gesendet: Donnerstag, 12. Oktober 2023 um 14:01 Uhr
Von: "Stefan Blumentrath via gdal-dev" <gdal-dev@lists.osgeo.org>
An: "gdal-dev" <gdal-dev@lists.osgeo.org>
Betreff: [gdal-dev] Cannot choose netCDF driver instead of HDF5 for nc files
Hi,
 
I am wondering if the behavior of the NetCDF driver changed in recent GDAL version(s)?
 
I do have the netCDF driver installed and also HDF5, which has been shaddowing the netCDF driver. So I used to do the following:
export GDAL_SKIP=HDF5
But this gives me now:
 
(or in Python syntax:
from osgeo import gdal
gdal.GetDriverByName("HDF5").Deregister()
)
 
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...
 
I am on Ubuntu 22.04, GDAL 3.6.4, released 2023/04/17...
 
Any idea how that can be solved? Is it a bug or a feature?
Thanks for helping in advance!
 
Cheers
Stefan
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to