AI4EPSV1

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

AI4EPSV1()

Support for the AI4EPS event HDF5 format.

This is the format of the AI4EPS earthquake DAS datasets (e.g. quakeflow_das, https://huggingface.co/datasets/AI4EPS/quakeflow_das). Each file holds one event in a “data” dataset of shape (channel, time) whose attributes provide the acquisition metadata (begin_time, dt_s, dx_m, unit) and event metadata (event_id, magnitude, hypocenter location).

Methods

Name Description
get_format Derive the format name and version from the family detector.
get_metadata Scan an AI4EPS 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.).