xarray.groupers.SeasonResampler.compute_chunks#

SeasonResampler.compute_chunks(variable, *, dim)[source]#

Compute chunk sizes for this season resampler.

This method is used during chunking operations to determine appropriate chunk sizes for the given variable when using this resampler.

Parameters:
  • name (Hashable) – The name of the dimension being chunked.

  • variable (Variable) – The variable being chunked.

Returns:

tuple[int, ] – A tuple of chunk sizes for the dimension.