I am working on a Debian 7 Wheezy system using Anaconda and working from Spyder. I've had a hard time installing a version of GDAL that reads HDF4 drivers. Could someone walk me through the installation process?
1 Answer
I had the same problem in ubuntu, I did not use anaconda though, just used the ubuntu version of python and my solution is here : https://gis.stackexchange.com/a/148441
data = gdal.Open(hdffilename)
I get the error: 'hdffilename not recognised as supported file format"hdffilename
? HDFs usually consist of multiple subdatasets. GDAL is able to open the subdatasets but not the HDF "container" as a whole. If you can provide an example file we might be able to determine if that's causing your issue.