Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.2-incubating
-
None
-
*nix
Description
Currently within the rcmes code base there is an ability to take in multiple datasets and return an 'ensemble' dataset. This ensemble is just the mean of all the input datasets.
The plan has been revised to just leverage the numpy.mean() function and setting the axis=0 assuming the input datasets are along the 0 axis.
Expected input datasets would be a list of dataset objects, so the overall shape of the list you be:
(len(datasets), len(times), len(lats), len(lons)), so using numpy.mean(datasets, axis=0) would take the average of all the datasets in one line.