In the canonicalCaseMap.py script there is an option to chose the simulated state randomly and there is often a desire to use identical sets of randomly selected values over multiple runs. This is currently accomplished in two ways:
- By passing the
defineRandom variable which contains a set of random values generated in runRetrievalSimulation.py and then passed up the stack through setupConCaseYAML() to conCaseDefinitions().
- By using a constant seed for the random generator at the top of the script (
rnd.default_rng(seed=33)).
We should pick just one approach and reduce the redundancy.
In the
canonicalCaseMap.pyscript there is an option to chose the simulated state randomly and there is often a desire to use identical sets of randomly selected values over multiple runs. This is currently accomplished in two ways:defineRandomvariable which contains a set of random values generated inrunRetrievalSimulation.pyand then passed up the stack throughsetupConCaseYAML()toconCaseDefinitions().rnd.default_rng(seed=33)).We should pick just one approach and reduce the redundancy.