read

method of dascore.io.dashdf5.core.DASHDF5 source

read(
    self ,
    resource: H5Reader ,
    time: tuple[tuple[None | int | float | str | numpy.datetime64 | pandas.Timestamp[None, int, float, str, datetime64, Timestamp], None | int | float | str | numpy.datetime64 | pandas.Timestamp[None, int, float, str, datetime64, Timestamp]], None] = None,
    channel: tuple[tuple[float | None[float, None], float | None[float, None]], None] = None,
    snap: bool = True,
    **kwargs ,
)

Read a CF file and return a spool of patches.

Parameters

Parameter Description
resource The open h5 object.
time An optional tuple for filtering time.
channel An optional tuple for filtering channel.
snap If True, snap each coordinate to be evenly sampled.