Quick overview
User Guide
Reference & help
reduce_grid: Reduce the dataset to non-zero locations in a mask
mask (str or dataset) – single variable dataset or path to .nc file. The mask must have an identical grid to the dataset.