-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not all cache is reused when running a notebook the second time #37
Comments
In this case the issue was some very small difference in the botm numpy array (dtype np.float64) from the gridprops dictionary. On my computer the cache was created using the value -13.60151824536105 while the new value was -13.601518245360648. I think this comes from preprocessing of the botm array where nan values are filled using interpolation. Using Creating tests for this is a good idea although maybe not so easy. I will leave this issue open so we can decide later if we want to do this. |
@OnnoEbbens I think you fixed this, right? And writing the tests for the cache functions still remains? |
Correct! |
Some tests were added for caching. |
When I run the Bergen model twice, not all cached data is reused, as can be seen below.
The text was updated successfully, but these errors were encountered: