slice_dataset
slice_dataset(
dataset: ndarray ,
dims: collections.abc.Sequence[str] ,
windows: collections.abc.Mapping[str, Any] ,
shape: collections.abc.Sequence[collections.abc.Sequence[int], None] = None,
)-> ‘np.ndarray’
Read the sample windows of an array stored in dims order.
shape defaults to the dataset’s own; pass it when an axis of the grid scan reports is shorter than the stored one, as it is for a Terra15 file whose trailing rows were never written.