-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add helper functions to get stressmodels from pastastore #134
Conversation
- allow adding/getting stressmodels from pastastore using stress names - support nearest selection - add tests - update `add_recharge` to use new methods.
Test fail is because i annoyed the KNMI api, so all good to go after review. |
Maybe we can separate the deletion of the arctic and pystore to another pr such that @FransSchaars can review and test this? |
Just ignore the deletions? It should work fine. (I'm a bit lazy and don't feel like separating the two :).) |
Make it even easier to build Pastas models! As suggested by @FransSchaars.
Build stressmodels from stored stress time series with
pstore.get_stressmodels()
Methods support nearest option when x and y-coordinates are stored for all stresses and oseries! Add them directly to pastas models with
pstore.add_stressmodel()
+ some other clean up and improvements