nctoolkit.DataSet.ensemble_sum#
- DataSet.ensemble_sum()#
ensemble_sum: Calculate an ensemble sum
The sum is calculated for each time step; for example, if each file in the ensemble has 12 months of data the statistic will be calculated for each month.
This operates on a grid cell by grid cell basis.
Examples
If you had an ensemble of climate models with data covering the same time steps, you would calculate the ensemble sum as follows:
>>> ds.ensemble_sum()