scaleSnowHeight {sarp.snowprofile.alignment}R Documentation

Scale total height of a snow profile

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

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


[Package sarp.snowprofile.alignment version 1.2.2 Index]