read

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

read(
    self ,
    resource: H5Reader ,
    time: tuple[tuple[int | float | str | numpy.datetime64 | pandas._libs.tslibs.timestamps.Timestamp[int, float, str, datetime64, Timestamp], int | float | str | numpy.datetime64 | pandas._libs.tslibs.timestamps.Timestamp[int, float, str, datetime64, Timestamp]], None] = None,
    distance: tuple[tuple[float, float], None] = None,
    snap_dims: bool = True,
    **kwargs ,
)-> ‘dc.BaseSpool’

Read a terra15 file.

Parameters

Parameter Description
resource The path to the file.
time A tuple for filtering time.
distance A tuple for filtering distance.
snap_dims If True, ensure the coordinates are evenly sampled monotonic.
This will cause some loss in precision but it is usually
negligible.