Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Import data from HDF (Hierarchical Data Format) files that utilize older versions of the HDF format
ResourceFunction["LegacyHDFImport"][file,"Datasets"] returns the datasets from the given HDF file. | |
ResourceFunction["LegacyHDFImport"][file,"Attributes"] returns the overall attributes from the given HDF file. | |
ResourceFunction["LegacyHDFImport"][file,{"Data",dataset}] returns the named dataset from the given HDF file. |
Generate a legacy HDF version 4 file:
In[1]:= | ![]() |
Out[1]= | ![]() |
Import the list of datasets:
In[2]:= | ![]() |
Out[2]= | ![]() |
Import the file attributes:
In[3]:= | ![]() |
Out[3]= | ![]() |
Import the data and visualize it:
In[4]:= | ![]() |
Out[4]= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
Wolfram Language 14.0 (January 2024) or above
This work is licensed under a Creative Commons Attribution 4.0 International License