Add ensemble functionality#17
Conversation
|
Scientific question 1: Which values to use for alpha and beta? |
|
Implementation question 1: Do we want warning or failure if running deterministically (only one ensemble member) with noise? |
|
Implementation question 2: Do we want the number of ensemble members and noise parameters to be CLI arguments rather than environemnt variables? I.e. parameters called when running sunflow: Current decision: CLI argument |
|
Ideas for ensemble spread variables: Quantiles, 10/90 percentile |
|
Mean vs. median - which is more useful? |
|
@irenelivia If you want, you can try this out to see if anything obvious stands out as ideas for improvements or things that should be changed. Ideas for simple commands to test:
|
The underlying probabilistic advection method has the option of running an ensemble with noise. However, until now, this option has not been implemented into
sunflow.This PR allows for running as an ensemble by specifying the CLI argument
--ensemble_membersto be different from one. Per default, the output will be selected ensemble statistics, but specifying--full_ensemblewhen calling sunflow will instead provide the full ensemble as output. Theoutput_modeglobal attribute in the NetCDF file will specify the type of output: full ensemble, ensemble_statistic or deterministic.If only a subset of the ensemble statistics are desired, this can be specified by exporting the environment variable
ENSEMBLE_STATISTICSwith the desired variables comma separated.The default values of the noise parameters alpha and beta are 0 for deterministic mode and using other values will result in a warning.
For ensemble mode, currently, the default values are taken from Carpentieri et al.: https://www.sciencedirect.com/science/article/pii/S030626192301139X