ClimoDataArrayAccessor.max

ClimoDataArrayAccessor.max(dim=None, **kwargs)[source]

Return the local maxima along the dimension. Multiple maxima are concatenated along a ‘track’ dimension.

Parameters
  • dim (str, optional) – The dimension. This is replaced with a 'track' dimension on the output DataArray.

  • dim_track (str, optional) – The dimension along which maxima are grouped into lines and tracked with linetrack.

  • **kwargs – Passed to find or truncate.