nctoolkit.DataSet.ensemble_var#
- DataSet.ensemble_var()#
ensemble_var: Calculate an ensemble variance
The ensemble variance is calculated for each time steps; for example, if the ensemble is made up of monthly files the standard deviation for each month will be calculated. 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 variance as follows:
>>> ds.ensemble_var()