-
Notifications
You must be signed in to change notification settings - Fork 71
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
Dinoloket read method #227
Conversation
Ofcourse codacy does not like the duplication in my code. Which is deliberate because I did not want to diverge from the coding style in the original reader class for groundwater levels. A previous attempt is available in this branch. No duplication, but this contains breaking changes. |
I think you need to change the filepaths in the notebook to use the forward slash instead of backslash for the tests to pass. |
@dbrakenhoff can you check the PR? I'll make a new Pastas version the end of this week, would be great if we can add this to the new version! |
remove some old commented code
update notebook to include examples of other pastas read methods in future
As Tom already mentioned, there's a lot of duplication, but that is unavoidable without changing the original code. I figured the notebook would be a good place to elaborate on all the read methods currently in Pastas, so I made some initial changes so the examples for KNMI, Waterbase can be added later. p.s. Waterbase was replaced by waterinfo as far as I know. And I don't know if read.waterbase is also capable of reading rws.waterinfo.nl files...? Something to look into. |
Once travis passes, I will merge. |
Short Description
Added support for reading river level gauges in Dinoloket format. Changes in pastas\read\Dinoloket.py and a simple read test.
Checklist before PR can be merged: