snotelprocessr was created to download, process, and analyze large amounts of SNOTEL data at once. The scripts and functions included can be used for a single station, or hundreds at once. Within the “vignettes” folder you can find example .R scripts for various processing and analysis workflows, in addition to the snotelprocessr_workflow_demo.Rmd, which will walk you through downloading raw data and processing it for future analyses.
-
extract_snotel_peak_swe.R
- Extract peak SWE day of year (DOY) from your processed SNOTEL data. Returns a CSV file with peak SWE DOY for each year/station
-
extract_snotel_soilmoisture_pulse.R
- Extract soil moisture pulse DOY from your processed SNOTEL data. Returns a CSV file with soil moisture DOY for each year/station
-
export_snotel_soilmoisture_plots.R
-
compute_snotel_snowfree.R
- Computes snow presence and snow-free DOY based on observations of snow depth.
-
compute_50p_peakSWE_window.R
- Computes 50% peak SWE DOY for each year (in other words- what DOYs the SWE curve crosses 50% of peak SWE)
You can install the development version (0.1.0) of snotelprocessr like this:
devtools::install_github("allydetre/snotelprocessr")
Feel to free to reach out to me with any questions/comments at [email protected]!
Ally Detre