Calculate the distance between two snowprofile objects by
distanceSP(query, ref, ...)
The query snowprofile object (will be warped onto ref
)
The reference snowprofile object (will not be warped)
passed on to dtwSP
Matching their layers and aligning them (i.e., warp one profile onto the other one)
Assessing the similarity of the aligned profiles based on avalanche hazard relevant characteristics
Convert the similarity score into a distance value between [0, 1]
This procedure is useful for clustering and aggregating tasks, given a set of multiple profiles.