ODH4V1

class of dascore.io.odh4.core
inherits from: H5ArrayMixin, FiberIO
source

ODH4V1()

Support for the OptaSense ODH4 HDF5 format.

Files hold one “raw_data” dataset of shape (channel, time); the root attrs carry start/end times, sampling rate, channel range and spacing, gauge length, units, and the scale factor to strain. Used e.g. by the UW-Madison SURF deployment in the PubDAS Global DAS Month dataset.

Methods

Name Description
get_format Derive the format name and version from the family detector.
get_metadata Scan an ODH4 file, return summary info about the contents.
get_version Return the file version when the resource matches this family.
read Read patches by selecting metadata and loading the resulting array windows.
read_array Slice the dataset key names, defaulting to the metadata’s own.
scan Return patch metadata; the dispatcher attaches source provenance.
write Write the spool to a resource (eg path, stream, etc.).