climt.SlabSurface.__call__

SlabSurface.__call__(state)

Gets tendencies and diagnostics from the passed model state.

Parameters:

state (dict) – A model state dictionary satisfying the input_properties of this object.

Returns:

  • tendencies (dict) – A dictionary whose keys are strings indicating state quantities and values are the time derivative of those quantities in units/second at the time of the input state.
  • diagnostics (dict) – A dictionary whose keys are strings indicating state quantities and values are the value of those quantities at the time of the input state.

Raises:
  • KeyError – If a required quantity is missing from the state.
  • InvalidStateError – If state is not a valid input for the TendencyComponent instance.