improver.psychrometric_calculations.cloud_condensation_level module#
Module to contain CloudCondensationLevel plugin.
- class CloudCondensationLevel(model_id_attr=None)[source]#
Bases:
PostProcessingPluginDerives the temperature and pressure of the convective cloud condensation level from near-surface values of temperature, pressure and humidity mixing ratio.
- __init__(model_id_attr=None)[source]#
Set up class
- Parameters:
model_id_attr (
str) – Name of model ID attribute to be copied from source cubes to output cube
- _abc_impl = <_abc._abc_data object>#
- _iterate_to_ccl()[source]#
Uses a Newton iterator to find the pressure level where the adiabatically-adjusted temperature equals the saturation temperature. Returns pressure and temperature arrays.
- _make_ccl_cube(data, is_temperature)[source]#
Puts the data array into a CF-compliant cube
- Return type:
- process(*cubes)[source]#
Calculates the cloud condensation level from the near-surface inputs. Values will be limited to the surface values where the calculated pressure is greater than the original pressure, which can occur in super-saturated conditions. Invalid values resulting from failure to find a saturation point will be masked.
- class MetaCloudCondensationLevel(model_id_attr=None)[source]#
Bases:
PostProcessingPluginMeta-plugin which handles the calling of HumidityMixingRatio followed by CloudCondensationLevel. Derives the temperature and pressure of the convective cloud condensation level from near-surface values of temperature, pressure and humidity mixing ratio.
- __init__(model_id_attr=None)[source]#
Set up class
- Parameters:
model_id_attr (
str) – Name of model ID attribute to be copied from source cubes to output cube
- _abc_impl = <_abc._abc_data object>#