climt.Instellation.__call__

Instellation.__call__(state)

Gets diagnostics from the passed model state.

Parameters:

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

Returns:

diagnostics – A dictionary whose keys are strings indicating state quantities and values are the value of those quantities at the time of the input state.

Return type:

dict

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