Cannot open .hdf with 3.1.4

Hello,

I need to open couple of .hdf files made via Artemis-Suite software (not by me), however I get an java.io.IOException: Unsupported fileformat error.

I installed HDFView-3.1.4-win10_64-vs16 on my Windows 10 laptop.

The full error message is:
HDFView root - REDACTED FILENAME
User property file - C:\Users…hdfview3.1.4
*** java.io.IOException: Unsupported fileformat - REDACTED FILENAME.hdf ***

I suspect it’s something related to the file itself because I can open all of the sample files in …HDF_Group\HDFView\app\samples:
annras.hdf
hdf5_test
misr_am1_metadata

Is there a tool verify the integrity of the files I want to open to see check if they are ok? I’ve seen mentioned HDF5check - will it also work on regular .hdf files?

Roberts

you could download a hdf4 binary to get the tools.

The tools might give you some more info, hdp is like h5dump.

Thanks for the suggestions.
It turns out that Artemis’ .hdf files are not the same as .hdf files expected by this HDF viewer. Even though the file extension abbreviation is the same, the format is not.

1 Like

Can you solve your problem? I have the same problem.

You can check to see if the .hdf file is an HDF4 file by opening the file in an editor, such as vim. If the first characters are: ^N^C^S^A then the file is an HDF4 file, and so it can be viewed by HDFView.