xarray.groupers.Resampler#

class xarray.groupers.Resampler[source]#

Abstract base class for Grouper objects that allow specializing resampling-type GroupBy instructions.

Currently only used for TimeResampler, but could be used for SpaceResampler in the future.

__init__()#

Methods

__init__()

compute_chunks(variable, *, dim)

Compute chunk sizes for this resampler.

factorize(group)

Creates intermediates necessary for GroupBy.

reset()

Creates a new version of this Grouper clearing any caches.