read_array

method of dascore.io.dasdae.core.DASDAEV1 source

read_array(
    self ,
    resource: H5Reader ,
    windows: dict[str, tuple[int, int]] ,
    source_patch_key = ““,
    **kwargs ,
)-> ‘np.ndarray’

Slice one patch’s data dataset directly.

Only the group’s _dims attribute and the requested hyperslab leave the file; patch attrs and coordinates are never parsed. See FiberIO.read_array for the window contract. source_patch_key is the waveform group name scan reports; a positional index is not accepted, because DASDAE never synthesizes one.