# Cannot open .hdf with 3.1.4

**URL:** <https://forum.hdfgroup.org/t/cannot-open-hdf-with-3-1-4/10450>\
**Category:** HDFView / Java HDF Object Package\
**Created:** [November 9, 2022, 3:49pm UTC](https://forum.hdfgroup.org/t/cannot-open-hdf-with-3-1-4/10450 "2022-11-09T15:49:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![roberts.veselovs](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/r/5daacb/32.png) [@roberts.veselovs](https://forum.hdfgroup.org/u/roberts.veselovs)\
**Post date:** [November 9, 2022, 3:49pm UTC](https://forum.hdfgroup.org/t/cannot-open-hdf-with-3-1-4/10450/1 "2022-11-09T15:49:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![byrn](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@byrn](https://forum.hdfgroup.org/u/byrn)\
**Post date:** [November 9, 2022, 6:11pm UTC](https://forum.hdfgroup.org/t/cannot-open-hdf-with-3-1-4/10450/2 "2022-11-09T18:11:48Z")

</div>

you could download a hdf4 binary to get the tools.

---

<div class="post-metadata">

**Author:** ![byrn](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@byrn](https://forum.hdfgroup.org/u/byrn)\
**Post date:** [November 9, 2022, 6:13pm UTC](https://forum.hdfgroup.org/t/cannot-open-hdf-with-3-1-4/10450/3 "2022-11-09T18:13:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![roberts.veselovs](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/r/5daacb/32.png) [@roberts.veselovs](https://forum.hdfgroup.org/u/roberts.veselovs)\
**Post date:** [November 14, 2022, 11:27am UTC](https://forum.hdfgroup.org/t/cannot-open-hdf-with-3-1-4/10450/4 "2022-11-14T11:27:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tiago\_barbosa-silva](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tiago\_barbosa-silva](https://forum.hdfgroup.org/u/tiago_barbosa-silva)\
**Post date:** [June 26, 2023, 3:34pm UTC](https://forum.hdfgroup.org/t/cannot-open-hdf-with-3-1-4/10450/5 "2023-06-26T15:34:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bmribler](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/b/a6a055/32.png) [@bmribler](https://forum.hdfgroup.org/u/bmribler)\
**Post date:** [June 26, 2023, 5:31pm UTC](https://forum.hdfgroup.org/t/cannot-open-hdf-with-3-1-4/10450/6 "2023-06-26T17:31:57Z")

</div>

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.
