sarp.snowprofile.alignment: Snow Profile Alignment, Aggregation, and Clustering

Snow profiles describe the vertical (1D) stratigraphy of layered snow with different layer characteristics, such as grain type, hardness, deposition date, and many more. Hence, they represent a data format similar to multivariate time series containing categorical, ordinal, and numerical data types. Use this package to align snow profiles by matching their individual layers based on Dynamic Time Warping (DTW). The aligned profiles can then be assessed with an independent, global similarity measure that is geared towards avalanche hazard assessment. Finally, through exploiting data aggregation and clustering methods, the similarity measure provides the foundation for grouping and summarizing snow profiles according to similar hazard conditions. In particular, this package allows for averaging large numbers of snow profiles with DTW Barycenter Averaging and thereby facilitates the computation of individual layer distributions and summary statistics that are relevant for avalanche forecasting purposes. For more background information refer to Herla, Horton, Mair, and Haegeli (2021) <doi:10.5194/gmd-14-239-2021>, and Herla, Mair, and Haegeli (2022) <doi:10.5194/tc-16-3149-2022>.

Version: 1.2.2
Depends: R (≥ 2.10), sarp.snowprofile (≥ 1.2.1)
Imports: dtw, grid, data.table
Suggests: knitr, rmarkdown, shiny, dendextend, smacof, testthat, progress
Published: 2024-02-08
DOI: 10.32614/CRAN.package.sarp.snowprofile.alignment
Author: Florian Herla [aut, cre], Pascal Haegeli [aut], Simon Horton [aut], Paul Billecocq [aut], SFU Avalanche Research Program [fnd]
Maintainer: Florian Herla <fherla at>
License: GPL (≥ 3)
NeedsCompilation: no
Language: en-US
Citation: sarp.snowprofile.alignment citation info
Materials: README NEWS
CRAN checks: sarp.snowprofile.alignment results


Reference manual: sarp.snowprofile.alignment.pdf
Vignettes: Averaging of profiles and retrieval of distributions
Technical details: layer matching
Basic workflow of layer matching and profile alignment


Package source: sarp.snowprofile.alignment_1.2.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): sarp.snowprofile.alignment_1.2.2.tgz, r-oldrel (arm64): sarp.snowprofile.alignment_1.2.2.tgz, r-release (x86_64): sarp.snowprofile.alignment_1.2.2.tgz, r-oldrel (x86_64): sarp.snowprofile.alignment_1.2.2.tgz
Old sources: sarp.snowprofile.alignment archive

Reverse dependencies:

Reverse suggests: sarp.snowprofile


Please use the canonical form to link to this page.