The HDF folks wrote the VisAD adapter for HDF5 files.
I understand the open() did not work with all HDF5 files
and the save did not work for all MathTypes. You may have
hit one of these limits.
You'd have to ask the HDF folks if they're still
maintaining the VisAD adapter.
If there is any way to convert your HDF5 file to a netCDF
file, I recommend that approach.
Tom Whittaker wrote:
> When I try to open an HDF5 file (AIRS satellite data), I get this:
> >>> a=load("test.h5")
> ncsa.hdf.hdf5lib.exceptions.HDF5Exception: HDF5File:
> .HDF5AtomException: Unable to find atom information (already closed?)
> Invalid MathType form: -> required:-1
> Specified MathType = null
> Traceback (innermost last):
> File "<console>", line 1, in ?
> visad.data.BadFormException: Data object "test.h5" not compatible with
> "visad.python.JPythonMethods" data family
> at visad.data.FunctionFormFamily.open(FunctionFormFamily.java:444)
> I'm using Windows 2K and the latest jhdf5.dll from NCSA. When I try to
> open this file with the H5View tool, it is fine. I tried replacing the
> ncsa package with the latest contents of the two JAR files, but VisAD I
> still get this error.
> Sorry I cannot provide any other info (this is the first HDF5 file I'v
> had to work with), but if you've got any ideas I'm all ears. It looks
> like NCSA did the VisAD adapter...wonder if they are still maintaining it?
> Tom Whittaker (tomw@xxxxxxxxxxxxx)
> University of Wisconsin-Madison
> Space Science and Engineering Center
> Cooperative Institute for Meteorological Satellite Studies
> Phone/VoiceMail: 608.262.2759
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706
hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738