# Errors when trying to open an H5 file

**URL:** <https://forum.hdfgroup.org/t/errors-when-trying-to-open-an-h5-file/3990>\
**Category:** Hdf-forum archives\
**Created:** [April 9, 2017, 6:41pm UTC](https://forum.hdfgroup.org/t/errors-when-trying-to-open-an-h5-file/3990 "2017-04-09T18:41:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stmchasr](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@Stmchasr](https://forum.hdfgroup.org/u/Stmchasr)\
**Post date:** [April 9, 2017, 6:41pm UTC](https://forum.hdfgroup.org/t/errors-when-trying-to-open-an-h5-file/3990/1 "2017-04-09T18:41:32Z")

</div>

I am a novice with .H5 files, but I have pulled out a few files from my system at work and am trying to view them. First I tried in ArcGIS since the format is now supported, but I received a very vague error that the raster was invalid. Now I downloaded HDFView and I am getting this error:

I've attached one of the files I am trying to view/open so someone with more experience can take a look and hopefully enlighten me with what is wrong.

Thanks in advance!

![](https://hdf-discourse-1.s3.amazonaws.com/original/1X/2910184152db61b553ddadd3a9925396f774d5a3.png)

[20170327\_TWL.h5](https://hdf-discourse-1.s3.amazonaws.com/original/1X/93aaaa65aac3cb6906c8def28450dd37a66c64ea.h5) (123 KB)

---

<div class="post-metadata">

**Author:** ![gnwiii](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/g/e5b9ba/32.png) [@gnwiii](https://forum.hdfgroup.org/u/gnwiii)\
**Post date:** [April 10, 2017, 4:21pm UTC](https://forum.hdfgroup.org/t/errors-when-trying-to-open-an-h5-file/3990/2 "2017-04-10T16:21:00Z")

</div>

I see the same error (macOS El Capitan, HDFview 2.13) when I click on a  
Data object. Panoply gives "There was an error preparing the data: Unknown  
filter type=32000".  
See: [https://support.hdfgroup.org/services/filters.html](https://support.hdfgroup.org/services/filters.html), where you will see:

![](https://hdf-discourse-1.s3.amazonaws.com/original/1X/2910184152db61b553ddadd3a9925396f774d5a3.png)

> **···**
>
> On 9 April 2017 at 15:41, \<stmchasr@verizon.net\> wrote:
> 
> > I am a novice with .H5 files, but I have pulled out a few files from my  
> > system at work and am trying to view them. First I tried in ArcGIS since  
> > the format is now supported, but I received a very vague error that the  
> > raster was invalid. Now I downloaded HDFView and I am getting this error:
> > 
> > I've attached one of the files I am trying to view/open so someone with  
> > more experience can take a look and hopefully enlighten me with what is  
> > wrong.
> 
> -----------------------------------------------------------------------------------------------------------------------------------------------------  
> LZF Filter
> 
> \*Filter ID:\* 32000
> 
> \*Filter Description:\*
> 
> The LZF filter is an alternative DEFLATE-style compressor for HDF5  
> datasets, using the free LZF library by Marc Alexander Lehmann. Its main  
> benefit over the built-in HDF5 DEFLATE filter is speed; in memory-to-memory  
> operation as part of the filter pipeline, it typically compresses 3x-5x  
> faster than DEFLATE, and decompresses 2x faster, while maintaining 50% to  
> 90% of the DEFLATE compression ratio.
> 
> LZF can be used to compress any data type, and requires no compile-time or  
> run-time configuration. HDF5 versions 1.6.5 through 1.8.3 are supported.  
> The filter is written in C and can be included directly in C or C++  
> applications; it has no external dependencies. The license is 3-clause BSD  
> (virtually unrestricted, including commercial applications).
> 
> More information, downloads, and benchmarks, are available at the  
> [http://h5py.org/lzf/\](http://h5py.org/lzf/%5C).
> 
> \*Additional Information:\*
> 
> The LZF filter was developed as part of the h5py project, which implements  
> a general-purpose interface to HDF5 from Python.
> 
> \*Links:\*
> 
> The h5py homepage: [http://h5py.org](http://h5py.org)  
> The LZF library homepage: [Marc Lehmann's "LibLZF"](http://home.schmorp.de/marc/liblzf.html)
> 
> \*Contact Information:\*
> 
> Andrew Collette  
> Web: [http://h5py.org](http://h5py.org)
> 
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> Since ArcGIS uses python, you might be able to install the lzf filter where  
> ArcGIS can use it.
> 
> You may want to read  
> [https://support.hdfgroup.org/HDF5/doc/TechNotes/TechNote-HDF5-CompressionTroubleshooting.pdf](https://support.hdfgroup.org/HDF5/doc/TechNotes/TechNote-HDF5-CompressionTroubleshooting.pdf)
> 
> > Thanks in advance!
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@lists.hdfgroup.org  
> > [http://lists.hdfgroup.org/mailman/listinfo/hdf-forum\_lists.hdfgroup.org](http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org)  
> > Twitter: [x.com](https://twitter.com/hdf5)
> 
> --  
> George N. White III \<aa056@chebucto.ns.ca\>  
> Head of St. Margarets Bay, Nova Scotia

---

<div class="post-metadata">

**Author:** ![rosborn](https://forum.hdfgroup.org/user_avatar/forum.hdfgroup.org/rosborn/32/118_2.png) [@rosborn](https://forum.hdfgroup.org/u/rosborn)\
**Post date:** [April 10, 2017, 3:03pm UTC](https://forum.hdfgroup.org/t/errors-when-trying-to-open-an-h5-file/3990/3 "2017-04-10T15:03:09Z")

</div>

It opens in h5py without any problem, and I was able to plot the data in NeXpy. Could it be a permissions issue?

Ray Osborn

> **···**
>
> On Apr 9, 2017, at 1:41 PM, [stmchasr@verizon.net](mailto:stmchasr@verizon.net)\<[mailto:stmchasr@verizon.net](mailto:stmchasr@verizon.net)\> wrote:
> 
> I am a novice with .H5 files, but I have pulled out a few files from my system at work and am trying to view them. First I tried in ArcGIS since the format is now supported, but I received a very vague error that the raster was invalid. Now I downloaded HDFView and I am getting this error:
> 
> \<ajkikobckhegdpha.png\>
> 
> I've attached one of the files I am trying to view/open so someone with more experience can take a look and hopefully enlighten me with what is wrong.
> 
> Thanks in advance!  
> \<20170327\_TWL.h5\>\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Hdf-forum is for HDF software users discussion.  
> [Hdf-forum@lists.hdfgroup.org](mailto:Hdf-forum@lists.hdfgroup.org)\<[mailto:Hdf-forum@lists.hdfgroup.org](mailto:Hdf-forum@lists.hdfgroup.org)\>  
> [http://lists.hdfgroup.org/mailman/listinfo/hdf-forum\_lists.hdfgroup.org](http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org)  
> Twitter: [https://twitter.com/hdf5](https://twitter.com/hdf5)
> 
> --  
> Ray Osborn, Senior Scientist  
> Materials Science Division  
> Argonne National Laboratory  
> Argonne, IL 60439, USA  
> Phone: +1 (630) 252-9011  
> Email: [ROsborn@anl.gov](mailto:ROsborn@anl.gov)\<[mailto:ROsborn@anl.gov](mailto:ROsborn@anl.gov)\>

---

<div class="post-metadata">

**Author:** ![bljones](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@bljones](https://forum.hdfgroup.org/u/bljones)\
**Post date:** [April 17, 2017, 2:48pm UTC](https://forum.hdfgroup.org/t/errors-when-trying-to-open-an-h5-file/3990/4 "2017-04-17T14:48:42Z")

</div>

Hello!

HDF5 provides the capability to employ dynamically loaded filters. See:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Dynamic Plugins in HDF5](https://support.hdfgroup.org/HDF5/doc/Advanced/DynamicallyLoadedFilters/)

We test many of the filter plugins internally. We will try the LZF filter plugin and plan to add it to our  
testing. I entered bug HDFFV-10174 for the issue.

-Barbara  
help@hdfgroup.org

![](https://hdf-discourse-1.s3.amazonaws.com/original/1X/2910184152db61b553ddadd3a9925396f774d5a3.png)

> **···**
>
> From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of stmchasr@verizon.net  
> Sent: Sunday, April 09, 2017 1:42 PM  
> To: hdf-forum@lists.hdfgroup.org  
> Subject: [Hdf-forum] Errors when trying to open an H5 file
> 
> I am a novice with .H5 files, but I have pulled out a few files from my system at work and am trying to view them. First I tried in ArcGIS since the format is now supported, but I received a very vague error that the raster was invalid. Now I downloaded HDFView and I am getting this error:
> 
> [cid:image001.png@01D2B75A.56D03130]
> 
> I've attached one of the files I am trying to view/open so someone with more experience can take a look and hopefully enlighten me with what is wrong.
> 
> Thanks in advance!
