View source: R/snowprofileInstabilitySigns.R
snowprofileInstabilitySigns | R Documentation |
Create a snowprofileInstabilitySigns object. Instability signs can for example be whumpfs, cracking, natural avalanches, skier accidental release, ski cutting, etc. For more information, see Canadian Avalanche Association. (2016). Observation Guidelines and Recording Standards for Weather, Snowpack, and Avalanches. Revelstoke, BC, Canada.
snowprofileInstabilitySigns(
signsFrame = data.frame(type = as.character(NA), present = as.character(NA), comment =
as.character(NA)),
dropNAs = TRUE
)
signsFrame |
a data.frame listing snowpack stability signs. Rows correspond to individual observations of instability signs
and columns describe at least the fields
|
dropNAs |
Should empty, non-mandatory columns be dropped from the final snowprofileInstabilitySigns object? |
Note: This class might be a temporary solution to digitize instability signs observed in proximity to snowprofiles. The information contained here, might be ported to a more general field observations class that is both independent from snowprofile objects and that is more in line with existing field observation standards.
snowprofileInstabilitySigns object
fherla
snowprofile, snowprofileLayers, snowprofileTests
## create a data.frame with instability sign observations
(signsFrame <- data.frame(type = c("Na", "whumpf", "cracking", "Sa"),
present = c(FALSE, TRUE, FALSE, FALSE)))
## create snowprofileInstabilitySigns object
instabilitySigns <- snowprofileInstabilitySigns(signsFrame)
## create snowprofile object containing instability signs and check resulting object:
snowprofile(instabilitySigns = instabilitySigns)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.