climate.api.wrapper

Module Contents

climate.api.wrapper.wrap_xclim_indicator(xclim_fn)

Wraps an xclim indicator to handle Earthkit inputs and unit alignment.

Parameters:

xclim_fn (Callable) – The xclim indicator function to be wrapped.

Returns:

The wrapped function which accepts Earthkit inputs.

Return type:

Callable