read_array

method of dascore.io.terra15.core.Terra15FormatterV4 source

read_array(
    self ,
    resource: H5Reader ,
    windows: collections.abc.Sequence[tuple[tuple[int | None[int, None], int | None[int, None]], <class ’slice, None]] = (),
    key: str = ““,
)-> ‘np.ndarray’

Slice the data node directly.

Besides the requested block, only the time node’s ends and the header are read (the whole time node for an unfinished file, to count the rows it actually wrote). Unwritten trailing rows are always excluded; snap does not affect positional array windows.