corteva / rioxarray

geospatial xarray extension powered by rasterio
https://corteva.github.io/rioxarray
Other
517 stars 82 forks source link

open_rasterio: MODIS HDF file not recognized #689

Closed ChangpeiHe closed 1 year ago

ChangpeiHe commented 1 year ago

RasterioIOError: 'F:/Python/MOLT/MOD11A1.A2020001.h27v05.061.2021003092439.hdf' not recognized as a supported file format.

snowman2 commented 1 year ago

Unfortunately, there is not enough information here to be able to provide assistance. Please fill out the issue template with the information needed.

snowman2 commented 1 year ago

Closing due to not enough information provided. It is likely due to your GDAL installation not having the correct drivers installed.

https://github.com/rasterio/rasterio-wheels/issues/36

I recommend using the GDAL docker images and installing rasterio with the --no-binary option or using conda-forge to install rasterio.

Berhinj commented 1 year ago

I don't think so, I had to face the same issue today. Install h5py with conda (forge), and you'll see, it'll work!