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: |
|
Ideas for ensemble spread variables: Quantiles, 10/90 percentile |
|
Mean vs. median - which is more useful? |
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 environment variable
ENS_MEMBERSto be different from one. Per default, the output will be the ensemble median, 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, median or deterministic.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
Dependency: Requires this PR to be merged prior to yielding correct results: dmidk/SolarSTEPS#2