View source: R/snotel_phenology.r
snotel_phenology | R Documentation |
First snow melt, first continuous snow melt, first snow accumulation and continous snow accumulation are reported.
snotel_phenology(df, threshold = 0, offset = 180)
df |
a snotel data file or data frame |
threshold |
threshold for mapping continuous snow cover |
offset |
offset of the year relative to January first (DOY 1) |
Be sure to execute this code on individual sites when loading a combined tidy data frame containing data for multiple sites.
## Not run:
# download one of the longer time series
df <- snotel_download(site_id = 670, internal = TRUE)
# calculate the snow phenology
phenology <- snotel_phenology(df)
# show a couple of lines
head(phenology)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.