diff --git a/AQP/sharpshootR/CA-snow-survey.Rmd b/AQP/sharpshootR/CA-snow-survey.Rmd index b9ceb08..f6ddf6e 100644 --- a/AQP/sharpshootR/CA-snow-survey.Rmd +++ b/AQP/sharpshootR/CA-snow-survey.Rmd @@ -96,7 +96,7 @@ library(purrr) # current data are: yr <- 2024 -mo <- 'March' +mo <- 'April' # Stanislaus River watershed course.data <- data.frame(course_number=c(129, 323, 131, 132, 134, 345, 344, 138, 139, 384, 140, 142, 143, 145, 152)) diff --git a/AQP/sharpshootR/CA-snow-survey.html b/AQP/sharpshootR/CA-snow-survey.html index e95ef3b..6531044 100644 --- a/AQP/sharpshootR/CA-snow-survey.html +++ b/AQP/sharpshootR/CA-snow-survey.html @@ -11,7 +11,7 @@ - + California Cooperative Snow Survey Summary @@ -353,7 +353,7 @@

California Cooperative Snow Survey Summary

D.E. Beaudette

-

2024-03-05

+

2024-04-03

@@ -437,7 +437,7 @@

Data and Summary for the Stanislaus

# current data are: yr <- 2024 -mo <- 'March' +mo <- 'April' # Stanislaus River watershed course.data <- data.frame(course_number=c(129, 323, 131, 132, 134, 345, 344, 138, 139, 384, 140, 142, 143, 145, 152)) @@ -520,7 +520,7 @@

Data and Summary for the Stanislaus

trellis.par.set(tps) print(p3, more=TRUE, position=c(0,0.08,1,1)) print(p4, more=FALSE, position=c(0.125,0,0.425,0.175)) -

+

Analysis of the Entire Record, all Courses

@@ -558,22 +558,22 @@

Analysis of the Entire Record, all Courses

scaled.data$month <- factor(scaled.data$month)
# plot all data, each line is a course
 xyplot(SWE ~ year | month, data=scaled.data, groups=name, col=rgb(0.1, 0.1, 0.1, alpha=0.25), type=c('l','g'), span=0.125, as.table=TRUE, scales=list(alternating=3, x=list(tick.number=10, rot=90)))
-

+

# plot all data: each dot is a survey
 xyplot(SWE ~ year | month, data=scaled.data, type=c('p','g', 'smooth'), span=0.125, as.table=TRUE, scales=list(alternating=3, x=list(tick.number=10, rot=90)), cex=0.25, pch=16, lwd=2)
-

+

xyplot(scaled.SWE ~ year | month, data=scaled.data, type=c('p','g', 'smooth'), span=0.125, as.table=TRUE, scales=list(alternating=3, x=list(tick.number=10, rot=90)), cex=0.25, pch=16, lwd=2)
-

+

xyplot(emp.pctile ~ year | month, data=scaled.data, type=c('p','g', 'smooth'), span=0.125, as.table=TRUE, scales=list(alternating=3, x=list(tick.number=10, rot=90)), cex=0.25, pch=16, lwd=2)
-

+

xyplot(emp.pctile ~ year | month, data=scaled.data, type=c('p','g', 'smooth'), span=0.25, as.table=TRUE, scales=list(alternating=3, x=list(tick.number=10, rot=90)), cex=0.25, pch=16, lwd=2, subset=year > 1970)
-

+

tps <- tactile.theme(box.dot=list(col='black', pch='|'), box.rectangle=list(col='black'), box.umbrella=list(col='black', lty=1), plot.symbol=list(col='black', cex=0.33), strip.background=list(col=grey(0.85)))
 
 bwplot(emp.pctile ~ factor(year) | month, data=scaled.data, as.table=TRUE, par.settings=tps, scales=list(alternating=3, x=list(tick.number=10, rot=90)), subset=year > 1970 & month == mo, stats=custom.bwplot, panel=function(...) {panel.grid(-1, -1); panel.bwplot(...)})
-

+

bwplot(spi ~ factor(year) | month, data=scaled.data, as.table=TRUE, par.settings=tps, scales=list(alternating=3, x=list(tick.number=10, rot=90)), subset=year > 1970 & month == mo, stats=custom.bwplot, panel=function(...) {panel.grid(-1, -1); panel.bwplot(...)})
-

+

por <- sprintf('Period of Record: 1939-%s', yr)
 
 bwplot(emp.pctile ~ factor(year), data=scaled.data, main=sprintf('%s Snow Survey', mo), sub = por, ylim=c(-0.05, 1.1), ylab='Empirical Percentiles of SWE', par.settings=tps, scales=list(alternating=3, y=list(tick.number=10)), subset=year > 1997 & month == mo, panel=function(x=x, y=y, ...) {
@@ -584,7 +584,7 @@ 

Analysis of the Entire Record, all Courses

panel.text(x=1:length(n.stations), y=1.03, labels=n.stations, cex=0.65, font=2) panel.text(x=10, y=1.075, labels='Snow Courses Reporting', cex=0.85, font=3) })
-

+


This document is based on sharpshootR version 2.2.

diff --git a/AQP/sharpshootR/PCP_plot-SPW-animation.gif b/AQP/sharpshootR/PCP_plot-SPW-animation.gif index ef51283..9c6aa89 100644 Binary files a/AQP/sharpshootR/PCP_plot-SPW-animation.gif and b/AQP/sharpshootR/PCP_plot-SPW-animation.gif differ diff --git a/AQP/sharpshootR/cumulative-PPT.html b/AQP/sharpshootR/cumulative-PPT.html index d6494b4..4c5646c 100644 --- a/AQP/sharpshootR/cumulative-PPT.html +++ b/AQP/sharpshootR/cumulative-PPT.html @@ -11,7 +11,7 @@ - + Cumulative Precipitation @@ -352,7 +352,7 @@

Cumulative Precipitation

D.E. Beaudette

-

2024-03-05

+

2024-04-03

@@ -410,7 +410,7 @@

CDEC

# plot par(mar = c(4.5, 4.5, 2.5, 1.5)) PCP_plot(x, ylab = 'Cumulative PPT (inches)', main = title.text, this.year = 2024) -

+

DAYMET

@@ -502,7 +502,7 @@

Animations

delay = 0.05, loop = TRUE ) -

+


This document is based on sharpshootR version 2.2.