FixedLapseRate¶
- class konrad.lapserate.FixedLapseRate(*args, **kwargs)[source]¶
Fixed constant lapse rate through the whole troposphere. Linear decrease in temperature with height.
- __init__(lapserate=0.0065)[source]
- Parameters
lapserate (float or ndarray) – Critical lapse rate [K/m].
Methods
__init__
([lapserate])- param lapserate
Critical lapse rate [K/m].
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.
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.