I added a script with commit 959f4fcbf0cf060560119ac74b3b62b4198affdc that tests reproducibility expectations as formulated with PR #528 (and see documentation and code comments of set_all_rngs().
I think we should clarify what the expected behavior of weather among gridcells in gridded mode if random seed is 0 should be (a seed of 0 signals non-reproducible random number sequences):
1) Should weather be identical among cells (for a given run) in gridded mode even if random seed is 0?, or
2) Should weather vary among cells in gridded mode if random seed is 0? [The script currently tests for this behavior.]
Either way, the current implementation fails because some gridcells produce identical weather and other gridcells produce (awkwardly [see below]) different weather with a random seed of 0.
I tested this on branch "Seed_Dispersal" (commit b995a9dcd504df62fa2c9f2131f0c156b183be55; June 22, 2023) and on branch "master" (commit 04fb112f5f2d35f6c221010435daebd3853100cf; June 20, 2023).
I added a script with commit 959f4fcbf0cf060560119ac74b3b62b4198affdc that tests reproducibility expectations as formulated with PR #528 (and see documentation and code comments of
set_all_rngs()
.I think we should clarify what the expected behavior of weather among gridcells in gridded mode if random seed is 0 should be (a seed of 0 signals non-reproducible random number sequences): 1) Should weather be identical among cells (for a given run) in gridded mode even if random seed is 0?, or 2) Should weather vary among cells in gridded mode if random seed is 0? [The script currently tests for this behavior.]
Either way, the current implementation fails because some gridcells produce identical weather and other gridcells produce (awkwardly [see below]) different weather with a random seed of 0.
I tested this on branch "Seed_Dispersal" (commit b995a9dcd504df62fa2c9f2131f0c156b183be55; June 22, 2023) and on branch "master" (commit 04fb112f5f2d35f6c221010435daebd3853100cf; June 20, 2023).
or
*awkwardly different