This seems like a bug. It should still be able to recognize and open the file without the type hint, whether or not you provide a sub-dataset suffix.
This is not a bug. This is intended. Subdatasets have a specific syntax. Valid subdataset names are the ones reported under the SUBDATASET metadata domain.

Our system generally relies heavily on GDAL's usually-reliable ability to recognize file types and load anything without such hints, so having to provide that as well will be undesirable.
This is generally true for the first level of access to a file, but once you want a specific part (name it "variable", etc), you have to comply with the nomenclature of each driver.

--
Simon Eves
Senior Rendering Engineer
+1 (415) 902-1996
simon.e...@heavy.ai

<http://www.heavy.ai>


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to