climt.EmanuelConvection.__call__¶
-
EmanuelConvection.
__call__
(state, timestep)¶ Gets tendencies and diagnostics from the passed model state.
Parameters: - state (dict) – A model state dictionary satisfying the input_properties of this object.
- timestep (timedelta) – The time over which the model is being stepped.
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.