new_snowprofile {sarp.snowprofile} | R Documentation |
Low-level constructor function for a snowprofile object
Description
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.
Usage
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()
)
Arguments
station |
character string |
station_id |
character string |
datetime |
date and time as class POSIXct in most meaningful timezone (timezone can be converted very easily:
e.g. |
latlon |
2-element vector latitude (first), longitude (second) |
elev |
profile elevation (m) |
angle |
slope angle (degree) |
aspect |
slope aspect (degree) |
hs |
total snow height (cm); if not provided, the field will be derived from the profile layers. |
maxObservedDepth |
equivalent to |
type |
character string, must be either 'manual', 'modeled', 'vstation', 'aggregate', or 'whiteboard' |
band |
character string describing elevation band as ALP, TL, BTL (alpine, treeline, below treeline) |
zone |
character string describing the zone or region of the profile location (e.g., BURNABY_MTN) |
comment |
character string with any text comments |
hn24 |
height of new snow within 24 h |
hn72 |
height of new snow within 72 h |
ski_pen |
skier penetration depth (m) |
layers |
snowprofileLayers object |
tests |
snowprofileTests object |
instabilitySigns |
snowprofileInstabilitySigns object |
Value
snowprofile object