nctoolkit.DataSet.ensemble_mean

DataSet.ensemble_mean(self, nco=False, ignore_time=False)

Calculate an ensemble mean

Parameters
  • nco (boolean) – Do you want to use NCO for the calculation? Default is False, i.e. CDO is used. Modify default if run time is an issue.

  • ignore_time (boolean) – If True the mean is calculated over all time steps. If False, the ensemble mean is calculated for each time steps; for example, if the ensemble is made up of monthly files the mean for each month will be calculated.