Re: reading hdf4 files with rasterio
toggle quoted messageShow quoted text
Rasterio doesn't improve the situation with subdatasets very much. You would still need to discover them via a rasterio dataset's subdatasets property. Something like
with rasterio.open("file.hdf4") as dataset:
for name in dataset.subdatasets:
with rasterio.open(name) as subdataset:
All the caveats of https://gdal.org/drivers/raster/hdf4.html apply.
On Mon, Oct 21, 2019 at 2:39 AM Amine Aboufirass <amine.aboufirass@...> wrote: