ZeroBuoyancyEntrainingPlume¶
- class konrad.entrainment.ZeroBuoyancyEntrainingPlume(*args, **kwargs)[source]¶
Zero-buoyancy entraining plume with a height-dependent weighting coefficient.
Adjustment with a lapse rate affected by entrainment between the cloud base (960hPa to convective top). Following moist-adiabat at the upper (T_con=T_rad) and lower boundaries (surface). Deviating from moist-adiabat in between. Initial temperature reduction from entrainment following the zero-buoyancy entraining plume model as described by Singh&O’Gorman (2013). Applying a height-dependent coefficient to the initial ttemperature reduction to mimick the buoyancy-sorting effect of convection as described in Bao et al. (submitted).
- __init__(entr=0.5)[source]
Initialize the entrainment component.
entr (float): Entrainment parameter.
Methods
__init__
([entr])Initialize the entrainment component.
create_variable
(name[, data, dims])Create a variable in the model component.
entrain
(T_con_adiabat, atmosphere)Entrain air masses to the atmosphere column.
from_netcdf
(ncfile[, timestep])Load a model component from a netCDF file.
get
(variable[, default, keepdims])Get values of a given variable.
Create a hash from all hashable component attributes.
set
(variable, value)Set the values of a variable.
Convert model component into an xarray.Dataset.
Attributes
attrs
Dictionary containing all attributes.
data_vars
Dictionary containing all data variables and their dimensions.
netcdf_subgroups
Define subgroups used when storing to netCDF file.