-
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
gwl_area_plot()
: Change scale breaks for wells with short records
#28
Comments
Great idea! Maybe you could add to your PR #27? |
Done! |
@steffilazerte @ateucher—so I have figured out why I have not encountered this too much, the SoE trend analysis criteria requires a minimum of 10 years data for the Mann-Kendall. That said, there are quite a few with 10-20 years data where the breaks are minimal (e.g. 11 years). Maybe we should this to fewer than 12 (or even 15) years? |
That seems logical. There's only one number to change in the function, so it'd be an easy fix, as long as the 1-year breaks still look okay with 15 years of data. Alternatively we could change the I.e. perhaps:
This change is still relevant to wells with < 10 years of data, as the plotting function creates a figure for all data sets, it just doesn't put the trend on it. |
I'll plot up some examples and see how 1-year breaks look with more years of data. If too busy, maybe I'll offer some more options via |
For gwl_area_plot(), perhaps consider changing the x axis to yearly breaks when there are fewer than 10 years (or fewer than 6 years) of well data? This isn't a very common occurrence, but would improve the legibility of those figures.
I'm more than happy to create a pull request if you think this would be a good thing to include.
The text was updated successfully, but these errors were encountered: