Class GINA_HDF5
- Namespace
- BlueM.Wave.Fileformats
- Assembly
- Wave.dll
Class for importing GINA HDF5 files with timeseries data
Expected structure: /timeseries/ /[group] (e.g., HNW, SN1, SN2) /time (string dataset with timestamps) - required /[element_name] (2D dataset with Real values) - at least one required
Requires the PureHDF NuGet package: https://www.nuget.org/packages/PureHDF/
public class GINA_HDF5 : TimeSeriesFile
- Inheritance
-
GINA_HDF5
- Inherited Members
Constructors
GINA_HDF5(string, bool)
Constructor
public GINA_HDF5(string FileName, bool ReadAllNow = false)
Parameters
Fields
SeriesColumnMap
Maps series index to the column name (variable name)
public readonly Dictionary<int, string> SeriesColumnMap
Field Value
SeriesDatasetMap
Maps series index to the HDF5 dataset name (element name)
public readonly Dictionary<int, string> SeriesDatasetMap
Field Value
Properties
UseImportDialog
Flag indicating whether to show the import dialog
public override bool UseImportDialog { get; }
Property Value
Methods
readFile()
Reads the selected series from the GINA HDF5 file
public override void readFile()
readSeriesInfo()
Reads series info from the GINA HDF5 file Creates a separate entry for each column of each dataset (e.g., T_Dru0161_Qzu, T_Dru0161_Qab)
public override void readSeriesInfo()
verifyFormat(string)
Verifies whether the file is a valid GINA HDF5 file with the expected structure
public static bool verifyFormat(string file)
Parameters
filestringPath to the file
Returns
- bool
True if the file is a valid GINA HDF5 file with timeseries structure containing time and element datasets