nowcasting_dataset icon indicating copy to clipboard operation
nowcasting_dataset copied to clipboard

Repeatable tests

Open peterdudfield opened this issue 4 years ago • 0 comments

Detailed Description

Use the random number generator to set a seed, so tests are repeatable. Using numpy's newish Generator class, so this function gets its own RNG which is guaranteed to create repeatable numbers.

Code that might need changing is here

Mentioned in pr: https://github.com/openclimatefix/nowcasting_dataset/pull/592

peterdudfield avatar Jan 28 '22 15:01 peterdudfield