[Qgis-user] HDF Bug [Was: Raster formats in Qgis 3.4]

Alex M tech_dev at wildintellect.com
Wed Nov 28 10:30:18 PST 2018

On Qgis-user an issue was reported with loading HDF5 files in QGIS 3.4
no Windows 10.

I was able to confirm that HDF5 files fail in QGIS 3.4.1, on Linux also.
Not just the user's file but file I also have. In both cases the files
work fine in QGIS 2.18.

This appears to be a regression related to subdatasets (sublayers). No
dialog comes up asking the user which subdataset to load, and hence the
load fails with a Provider is not Valid message.

Only bug info I can find was an old patch that solved this 7 years ago:

Here's a MODIS image in HDF5 for people to test with.

A secondary, minor issue, the Browser doesn't see the file if it has an
extension beyond .hdf, in this the case .h5 was what the user supplied.


On 11/27/18 10:26, Alex M wrote:
> Yes, please share with the group.
> Thanks,
> Alex
> On 11/27/18 10:20, Anabel Lamaro wrote:
>>  Thank you very much for your answer. I use Windows 10 and I have just
>> installed version 3.14 Madeira of the Qgis software. I enclose the error
>> message in a screenshot. I'll see if I can send you a link to the image.
>> Thank you very much Anabel
>> El mar., 27 nov. 2018 a las 14:33, Alex M (<tech_dev at wildintellect.com>)
>> escribió:
>>> Anabel,
>>> QGIS 3 supports all the same formats, however the loading dialog did
>>> change.
>>> https://www.gdal.org/formats_list.html
>>> Sometimes there can also be a slight variation in which drivers are
>>> included in the gdal install, though that usually only applies to
>>> proprietary formats like MrSID and ECW.
>>> What operating system are you using, which version of QGIS 3.4.?, and
>>> can you send a link with an example file others can test with?
>>> Do you get an error message? Please explain more about how it's not
>>> working.
>>> Thanks,
>>> Alex
>>> On 11/27/18 09:17, Anabel Lamaro wrote:
>>>> Good afternoon: I need to open some radar satellite images (Cosmo Skymed)
>>>> that are in .h5 format (of the hdf type). With the previous version 2.18
>>> it
>>>> could open without inconvenience. I need help on this. Is there any
>>> add-on
>>>> to open this type of raster format? Thank you in advance! Anabel
>>>> <
>>> http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>>>> Libre
>>>> de virus. www.avg.com
>>>> <
>>> http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>>>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lists.osgeo.org
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

More information about the Qgis-user mailing list