slice_dataset
slice_dataset(
dataset: ndarray ,
windows: collections.abc.Sequence[Any] = (),
shape: collections.abc.Sequence[collections.abc.Sequence[int], None] = None,
)-> ‘np.ndarray’
Read the positional sample windows of a stored array.
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.