VerticallyUniform¶
- class konrad.humidity.relative_humidity.VerticallyUniform(*args, **kwargs)[source]¶
Fix the relative humidity to a single value throughout the atmosphere.
- __init__(rh_surface=0.8)[source]
- Parameters
rh_surface (float) – Relative humidity at first pressure level (surface)
Methods
__init__
([rh_surface])- param rh_surface
Relative humidity at first
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.