DASDAEV1
DASDAEV1()
Provides IO support for the DASDAE format version 1.
DASDAE format is loosely based on the Adaptable Seismic Data Format (ASDF) which uses hdf5. The hdf5 structure is the following:
/root /root.attrs format = “DASDAE” DASDAE_version = ‘1’ # version str /root/waveforms/ DAS__{net}{sta}{tag}{start}{end} data # patch data array data.attrs coords{coord_name} # each coordinate array is saved here DAS{net}{sta}{tag}{start}__{end}.attrs attrs{attr_nme} # each patch attribute _dims # a str of ‘dim1, dim2, dim3’
Methods
| Name | Description |
|---|---|
| get_format | Derive the format name and version from the family detector. |
| get_metadata | Get patch info by iterating waveform groups in the file. |
| 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 one patch’s data dataset directly. |
| scan | Return patch metadata; the dispatcher attaches source provenance. |
| write | Write a collection of patches to a DASDAE file. |