Assigns numeric values of the precision (sd.) of each measurement to the categorical quality ranking of the World Stress Map (A, B, C, D, E).
References
Heidbach, O., Barth, A., M<U+00FC>ller, B., Reinecker, J., Stephansson, O., Tingay, M., Zang, A. (2016). WSM quality ranking scheme, database description and analysis guidelines for stress indicator. World Stress Map Technical Report 16-01, GFZ German Research Centre for Geosciences. doi:10.2312/wsm.2016.001
Examples
parse_wsm_quality(c("A", "B", "C", "D", NA, "E"))
#> A B C D <NA> E
#> 15 20 25 40 NA 90
data("san_andreas")
parse_wsm_quality(san_andreas$quality)
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C A C A C D C C C C C C D C D C C C
#> 25 25 25 25 25 25 25 25 25 15 25 15 25 40 25 25 25 25 25 25 40 25 40 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C A A A A A
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 15 15 15 15 15
#> A A C C C C C C C C C C C C C C C C C C C C C C C C
#> 15 15 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C C C C C C C E E E
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 90 90 90
#> E E E C C C C C C C C C C C C C C C C C C C C C C C
#> 90 90 90 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25
#> C C C C C C C C C C C C C C C C C
#> 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25