shnitsel.data.trajectory_variable_description#
Classes#
Class to assign standard keys to the attributes of variables associated with dimensions |
|
Class to keep track of all variable attributes in xarrays acknowledged by the shnitsel standard |
Functions#
|
Function to set standardized variable attributes. |
Module Contents#
- class UnitInfo#
Bases:
NamedTupleClass to assign standard keys to the attributes of variables associated with dimensions
- class VariableInfoAttributes#
Bases:
NamedTupleClass to keep track of all variable attributes in xarrays acknowledged by the shnitsel standard
- set_variable_attributes(var, attrs)#
Function to set standardized variable attributes.
This is meant to unify the keys under which information is stored in the shnitsel format.
- Parameters:
var (xr.DataArray) – The variable/DataArray to set attributes on
attrs (VariableInfoAttributes) – The standardized set of attributes to assign to the variable
- Return type:
None