Low-cost, efficient constructor function to be used by users who know what they're doing. If that's not you, use the high-level constructor snowprofile.
new_snowprofile(
station = character(),
station_id = character(),
datetime = as.POSIXct(NA),
latlon = as.double(c(NA, NA)),
elev = double(),
angle = double(),
aspect = double(),
hs = double(),
maxObservedDepth = double(),
type = character(),
band = character(),
zone = character(),
comment = character(),
hn24 = double(),
hn72 = double(),
ski_pen = double(),
layers = snowprofileLayers(),
tests = snowprofileTests(),
instabilitySigns = snowprofileInstabilitySigns()
)
snowprofile object
character string
character string
date and time as class POSIXct in most meaningful timezone (timezone can be converted very easily:
e.g. print(profile$datetime, tz = 'EST')
.
2-element vector latitude (first), longitude (second)
profile elevation (m)
slope angle (degree)
slope aspect (degree)
total snow height (cm); if not provided, the field will be derived from the profile layers.
equivalent to hs
for full profiles that go down to the ground. for test profiles that only
observe the upper part of the snowpack this value refers to the maximum depth of the profile observation.
character string, must be either 'manual', 'modeled', 'vstation', 'aggregate', or 'whiteboard'
character string describing elevation band as ALP, TL, BTL (alpine, treeline, below treeline)
character string describing the zone or region of the profile location (e.g., BURNABY_MTN)
character string with any text comments
height of new snow within 24 h
height of new snow within 72 h
skier penetration depth (m)
snowprofileLayers object
snowprofileTests object
snowprofileInstabilitySigns object