mpas_analysis.shared.climatology.MpasClimatologyTask.add_variables

MpasClimatologyTask.add_variables(variableList, seasons=None)[source]

Add one or more variables and optionally one or more seasons for which to compute climatologies.

Parameters:
  • variableList (list of str) – A list of variable names in the stream to be included in the climatologies

  • seasons (list of str, optional) – A list of seasons (keys in shared.constants.monthDictionary) to be computed or None 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.