mpas_analysis.shared.climatology.MpasClimatologyTask.add_variables¶
-
MpasClimatologyTask.
add_variables
(self, variableList, seasons=None)[source]¶ Add one or more variables and optionally one or more seasons for which to compute climatologies.
- Parameters
- variableListlist of str
A list of variable names in the stream to be included in the climatologies
- seasonslist of str, optional
A list of seasons (keys in
shared.constants.monthDictionary
) to be computed orNone
if only monthly climatologies are needed.
- Raises
- ValueError
if this funciton is called before this task has been set up (so the list of available variables has not yet been set) or if one or more of the requested variables is not available in the stream.