FixedStratosphericVMR

class konrad.humidity.stratosphere.FixedStratosphericVMR(*args, **kwargs)[source]

Keep stratospheric VMR fixed at a constant value.

__init__(stratospheric_vmr=5e-06)[source]
Parameters

stratospheric_vmr (float) – Stratospheric water vapor amount [VMR].

Methods

__init__([stratospheric_vmr])

param stratospheric_vmr

Stratospheric water vapor amount [VMR].

adjust_stratospheric_vmr(atmosphere)

Adjust stratospheric water vapor VMR values.

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.