scaleSnowHeight: Scale total height of a snow profile

Description Usage Arguments Value Author(s)

View source: R/utils.R

Description

Scale the snow height of a snow profile either (1) based on another profile, or (2) based on a provided (predetermined) snow height. This function can therefore be used to scale two snow profiles to an identical snow height by scaling the height vector of the (query) profile against the height vector of the (reference) profile.

Usage

1
scaleSnowHeight(query, ref = NA, height = NA)

Arguments

query

the query snow profile (whose height vector will be scaled)

ref

the reference snow profile (whose total snow height will be used as the reference height for the scaling)

height

an optional reference height that can be given instead of the query profile

Value

query profile with scaled height vector

Author(s)

fherla


sarp.snowprofile.alignment documentation built on Dec. 3, 2020, 9:08 a.m.