AbstractStochasticPhysics and SPPT #629
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements a general interface for stochastically perturbed parameterization tendencies SPPT as well as inputs. Running the same model twice now gives already different trajectories
one can however create a random process with a non-zero seed that would sample the same sequence of random numbers for reproducibility (default no)
(
seed=0
means seed from Julia's global RNG)@minqi6 this would give you another somewhat adhoc stochastic physics baseline than the stochastic convection you are working on!
@matt-graham maybe that's the added stochasticity you'd need?
@CakeMixCore It sounded like you were more interested in perturbing parameters but if you just want to create ensembles then this is a much better way of doing it!
To be used like
default remains:
random_process = NoRandomProcess()
andstochastic_physics = NoStochasticPhysics()