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:
- 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>#