dctools.metrics.oceanbench_metrics.get_variable_alias

dctools.metrics.oceanbench_metrics.get_variable_alias(variable)

Get the alias for a given variable.

Parameters:

variable (Variable) – The variable to get the alias for.

Returns:

The alias of the variable, or None if not found.

Return type:

Optional[str]