Bug report #21783
Updated by Jürgen Fischer over 5 years ago
I am creating some netCDF files with more than 1 band using GDAL (2.4.1).
The created files (an example file in attachment) works fine in QGIS 2.18 (and other GIS apps), but I get the following errors with QGIS 3+ (ltr, dev, etc.) on OSGEO4W64:
<pre>
2019-04-07T16:16:16 CRITICAL Invalid Layer : Raster layer Provider is not valid (provider: gdal, URI: C:/gdal.nc
2019-04-07T16:16:16 CRITICAL Invalid Data Source : C:/gdal.nc is not a valid or recognized data source.
</pre>
If I create a netCDF file with just 1 band (example attached), QGIS 3+ reads the file smoothly.
This issue may be related to #20921, #20980 and #21648 to:
* https://issues.qgis.org/issues/20921
* https://issues.qgis.org/issues/20980
* https://issues.qgis.org/issues/21648
The created files (an example file in attachment) works fine in QGIS 2.18 (and other GIS apps), but I get the following errors with QGIS 3+ (ltr, dev, etc.) on OSGEO4W64:
<pre>
2019-04-07T16:16:16 CRITICAL Invalid Layer : Raster layer Provider is not valid (provider: gdal, URI: C:/gdal.nc
2019-04-07T16:16:16 CRITICAL Invalid Data Source : C:/gdal.nc is not a valid or recognized data source.
</pre>
If I create a netCDF file with just 1 band (example attached), QGIS 3+ reads the file smoothly.
This issue may be related to #20921, #20980 and #21648 to:
* https://issues.qgis.org/issues/20921
* https://issues.qgis.org/issues/20980
* https://issues.qgis.org/issues/21648