DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

NCSA HDF

I've been working with the dataplugin examples for HDF5, as found here:

 

http://zone.ni.com/devzone/cda/epd/p/id/6547

and

http://zone.ni.com/devzone/cda/epd/p/id/6546

 

HDF stores data and associated metadata. Metadata is call "Attributes" in the HDF nomenclature.

 

We can load all the data channels, and the associated attributes show up as channel properties. This is perfect.

 

Our files also have file-level Attributes. I would like those to load as Root properties.

 

The example doesn't do that. I'm wondering if anybody has made that work.

0 Kudos
Message 1 of 7
(5,906 Views)

Hello jbrandim,

Could you post a sample file showing both the file-level attributes you want to import along with the data and metadata?

Jacob R. | Applications Engineer | National Instruments

0 Kudos
Message 2 of 7
(5,880 Views)

Jacob,

 

Here is simple example. It has only three header attributes:

FACILITY_CODE_GLOSDS
JOB#JOB_NUMBER_GLOSDS
RUN_NUMBER_GLOSDS

 


The values are:

1957

DEV001

SC

 

In practice, there may be many header attributes. I would like access to any that might be there.  The channel attributes all show up properly when using the Example plugin.

0 Kudos
Message 3 of 7
(5,854 Views)

Hi Jeff,

 

I've forwarded your *.h5 data file on to R&D-- I agree that the HDF5 DataPlugin appears to be ignoring those header properties in the *.h5.

 

Brad Turpin

DIAdem Product Support Engineer

National Instrumets

0 Kudos
Message 4 of 7
(5,820 Views)

Hi Jeff,

 

R&D has reproduced the file property reading problem with your data files and has verified that a newer HDF DLL resolves that problem.  The intend to release an updated HDF5 DataPlugin in the enxt month or two that will have this fix in it.

 

Thanks for your feedback and (hopefully) patience,

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 5 of 7
(5,770 Views)

Brad,

 

Thanks, that will be great.  We have about 20 years of data in HDF formats.  This will make it a lot easier for our users to analyze with Diadem.

0 Kudos
Message 6 of 7
(5,745 Views)

Hi Jeff,

 

R&D has updated the HDF DataPlugin to parse the File properties, and I now see those 3 properties you listed in DIAdem.  If you have so many of those data files, perhaps you would appreciate the post-processing DataPlugin I'm attaching.  The "H5_TDM" DataPlugin reduces the hierarchy levels of the HDF5 data file down to just the 3 TDM levels so that you can index the HDF5 files with the DataFinder.  This gives you the ability to query on those File properties and any others in the file using the standard query form in the NAVIGATOR, as well as look inside the files in the tree view and selectively load only the channels you want, or even load the channels with data reduction.

 

You need to download and install the new HDF5 DataPlugin from this web page before installing the "H5_TDM" DataPlugin:

 

http://zone.ni.com/devzone/cda/epd/p/id/6546

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 7 of 7
(5,642 Views)