FixedTemperature¶
- class konrad.surface.FixedTemperature(*args, **kwargs)[source]¶
Surface model with fixed temperature.
- __init__(temperature=288.0, **kwargs)[source]
Initialize a surface model with constant surface temperature.
Methods
__init__
([temperature])Initialize a surface model with constant surface temperature.
adjust
(*args, **kwargs)Do not adjust anything for fixed temperature surfaces.
create_variable
(name[, data, dims])Create a variable in the model component.
from_atmosphere
(atmosphere, **kwargs)Initialize the surface by extrapolating the atmospheric temperature.
from_netcdf
(ncfile[, timestep])Create a surface model 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.