variables
This module defines the default products to use for each variable per level and defines the variables and their units.
- fill_attrs(ds, *args)
Fills in the attributes of a xr.Dataset.
- Parameters
ds (xr.Dataset) – The dataset in which to add metadata attributes.
- Returns
The dataset with extra metadata.
- Return type
xr.Dataset
- initiate_ds(ds=None, dummy_data=False)
Create a template input xr.Dataset for et_look.
- Parameters
ds (_type_) – _description_
- Returns
_description_
- Return type
_type_
- fill_source_data_attr(ds)
Determines the input data sources each variable depends on, based on the “calculated_with” attribute in the ds.
- Parameters
ds (xr.Dataset) – Dataset for which to determine the source data.
- Returns
Dataset with new attribute information.
- Return type
xr.Dataset
- get_var_definitions()
Gives he defintion and unit of all the variables used in et_look and se_root.
- Returns
Keys are variable names as used in et_look and se_root, values are dictionaries with keys long_name, units and definition.
- Return type
dict