Open juliabruneau opened 2 years ago
A box plot graph comparing the active groundwater storage during summer and winter months from 1984 to 2020.
Thanks, it's impressive what you've pulled together since Monday. One note on the "decompose" function. Looking through the markup, I saw this: "Our data is multiplicative since the amplitude of the seasonal component changes with the seemingly decreasing trend." Is this something you tested for specifically or just a visual observation? Unless there's a compelling reason not to, I'd suggest doing an additive decomposition as well.
Ok so this is really excellent. I will need a primer on understanding the decomposition charts so that I might form an opinion in additive versus multiplicative :). Thanks for keeping me posted!
Reference: https://online.stat.psu.edu/stat510/lesson/5/5.1
ADDITIVE = Trend + Seasonal + Random useful when the seasonal variation is relatively constant over time
MULTIPLICATIVE = Trend Seasonal Random useful when the seasonal variation increases over time
DECOMPOSITION = used in time series to describe the trend and seasonal factors in a time series
RESULTS $seasonal
$figure
$trend
$random (residuals)
AGWS yearly median with linear trendline:
@rburghol
EDIT: Updated 25th percentile graph!
I like this combined 50/25 graph. Economical :). Yes, still include stats, as this is only a single land segment, and we don't know if they will all be so uniform. Even so, the slopes are our only quantitative measures, and as we will be looking at 125 land segments x 35-50 land uses we will have 4,000-6,000 charts to review -- numerical values become essential in picking out the places where important/interesting things might happen.
I like this combined 50/25 graph. Economical :). Yes, still include stats, as this is only a single land segment, and we don't know if they will all be so uniform. Even so, the slopes are our only quantitative measures, and as we will be looking at 125 land segments x 35-50 land uses we will have 4,000-6,000 charts to review -- numerical values become essential in picking out the places where important/interesting things might happen.
Sounds good. Just to clarify - even if we have both the median and the 25th percentile graph here, you would also like a separate graph with just the median in VAHydro?
UPDATE:
Rscript HARParchive/HARP-2022-Summer/AutomatedScripts/hsp_pwater_stats.R A51011 hsp2_2022 for /opt/model/p53/p532c-sova/output/hspf/land/out/for/hsp2_2022/eos/forA51011_pwater.csv /media/model/p532/out/land/hsp2_2022/images
In VAHydro (graphs & summary stats):
forA51019.fig.AGWSdecomp.png
forA51019.fig.AGWSmedian.png
forA51019.fig.AGWS25perc.png
The results: http://deq1.bse.vt.edu:81/d.dh/om-model-info/6828217 ;
@juliabruneau this looks great. Thanks!
@juliabruneau Awesome! 1 suggestion, if the stats are specific to just one of those plots, I would house the stats and the plot image under a common property 'container'.
Example: http://deq1.bse.vt.edu:81/d.dh/om-model-info/6349867
@jdkleiner we implemented the changes that you suggested, so now the exports to VAHydro are more organized:
The second and third images are inside of the AGWS25perc and AGWSmedian containers To-do: make container propcodes (instead of having a '0')
What is the overall set of questions? @juliabruneau
Monthly overview of trends is a good, useful analysis that tells us basic dynamics.
What is the metric to tell us if there is a long-term trend?
Include median AGWS by year trend as it is a simple potential metric (unless we find a better one).\
what is simple LM trend in annual 25% AGWS
Questions:
Work Products to generate and store in VAHydro:
[x] decomposition plot, stacked
@durelles shared a link in the zoom (https://fukamilab.github.io/BIO202/09-A-time-series.html), so I looked into the packages and functions mentioned within it.
The complete rmd file: A51800_graphing_further_analysis.pdf and I will also push this and the R file into the HARP-2022-Summer folder as "A51800_graphing_further_analysis"
Examples of each function were created by using the AGWS (active groundwater storage) values from the PWATER table in A51800.
The functions used: