scaleSnowHeight function

Scale total height of a snow profile

Scale total height of a snow profile

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.

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

Returns

query profile with scaled height vector

Author(s)

fherla