OzoneNormedPressure¶
- class konrad.ozone.OzoneNormedPressure(*args, **kwargs)[source]¶
Ozone shifts with the normalisation level.
- __init__(norm_level=None, coupling='convective_top')[source]
- Parameters
norm_level (float) – pressure for the normalisation normally chosen as the convective top pressure at the start of the simulation [Pa]
coupling (str) – Mechanism to determine the normalisation level: * “convective_top”: Coupled to the convective top. * “cold_point”: Coupled to the cold point tropopause.
Methods
__init__
([norm_level, coupling])- param norm_level
pressure for the normalisation
create_variable
(name[, data, dims])Create a variable in the model component.
from_netcdf
(ncfile[, timestep])Load a model component from a netCDF file.
get
(variable[, default, keepdims])Get values of a given variable.
get_norm_level
(atmosphere, convection)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.