- DataSet.ensemble_percentile(self, p=None)#
ensemble_percentile: Calculate an ensemble percentile.
This will calculate the percentiles for each time step in the files. For example, if you had an ensemble of files where each file included 12 months of data, it would calculate the percentile for each month. This operates on a grid cell by grid cell basis.
p (float or int) – percentile to calculate. 0<=p<=100.
If you had an ensemble of climate models with data covering the same time steps, you would calculate the ensemble 90th percentile as follows: