nowcasting_dataset
nowcasting_dataset copied to clipboard
Repeatable tests
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