BoundaryLayer

class konrad.lapserate.BoundaryLayer(*args, **kwargs)[source]

Moist-adiabatic lapse rate with a dry boundary layer above the surface.

__init__(bl_height=95000.0)[source]

Initialize a moist-adiabat with boundary layer.

Parameters

bl_height (float) – Height of boundary layer [Pa].

Methods

__init__([bl_height])

Initialize a moist-adiabat with boundary layer.

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.

hash_attributes()

Create a hash from all hashable component attributes.

set(variable, value)

Set the values of a variable.

to_dataset()

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.