ndpyramid.pyramid_coarsen#
- ndpyramid.pyramid_coarsen(ds: Dataset, *, factors: list[int], dims: list[str], **kwargs) DataTree #
Create a multiscale pyramid via coarsening of a dataset by given factors
Parameters#
- dsxarray.Dataset
The dataset to coarsen.
- factorslist[int]
The factors to coarsen by.
- dimslist[str]
The dimensions to coarsen.
- kwargsdict
Additional keyword arguments to pass to xarray.Dataset.coarsen.