StratosphericUpwelling

class konrad.upwelling.StratosphericUpwelling(*args, **kwargs)[source]

Apply a dynamical cooling, based on a specified upwelling velocity.

__init__(w=0.2, lowest_level=None)[source]

Create a upwelling handler.

Parameters
  • w (float) – Upwelling velocity in mm/s.

  • lowest_level (int or None) – The index of the lowest level to which the upwelling is applied. If none, uses the top of convection.

Methods

__init__([w, lowest_level])

Create a upwelling handler.

cool(atmosphere, convection, timestep)

Apply cooling above the convective top (level where the net radiative heating becomes small).

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.