ClimoDataArrayAccessor.derivative

ClimoDataArrayAccessor.derivative(indexers=None, centered=True, **kwargs)[source]

Take the nth order centered finite difference for the specified dimensions.

Parameters
  • indexers (dict, optional) – Dictionary mapping of dimension names to derivative order. For example, to get the second time derivative, use time=0.

  • centered (bool, optional) – If False, use more accurate (but less convenient) half-level differentiation rather than centered differentiation.

  • **indexers_kwargs – The keyword arguments form of indexers. One of indexers or indexers_kwargs must be provided.

  • **kwargs – Passed to deriv_uneven. The order keyword arg is ignored.