read_array

method of dascore.io.netcdf.core.NetCDFCFV18 source

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

Slice the payload variable through xarray.

The selection goes through xarray rather than the stored dataset so CF decoding (scaling, offsets, fill values) applies exactly as it does in read.