The function can compute the RTA index for layers and for interfaces. The calculation follows the example in Monti (2013),
referenced below. The six individual relative lemons are computed as follows. To compute the RTA index for layers,
the layer properties are combined with the interface properties of the weakest interface below or above the layer.
To compute the RTA index for interfaces, the interface properties are combined with the weakest layer properties below
or above the interface. The six properties considered in the index are
grain size, hardness, grain type (layer properties)
difference of grain sizes and hardness (at the interface)
depth (at the top interface of the layer)
Instead of implementing a static threshold for the depth weighting, the depth is scaled with a weibull function
that is corrected for potential crusts and their stabilizing effects (Monti and Mitterer, personal communication).
Note that due to the crust correction, the results from this function will only be correct if applied to profiles
that have not yet been resampled (such as by functions from sarp.snowprofile.alignment: resampleSP
, resampleSPpairs
,
dtw
, averageSP
).
The RTA index ranges between [0, 1]
, with the weakest layer/interface euqal to 1. Values > 0.8 indicate layers/interfaces with a poor structural stability.