sarp.snowprofile1.4.1 package

Snow Profile Analysis for Snowpack and Avalanche Research

assignDatetags

Assign layers in simulated snow profiles to precomputed datetags

char2numAspect

Conversion of character Aspects to numeric Aspects

char2numHHI

Conversion of Hand Hardness Index (HHI)

codes_pro

PRO field code lookup

computeRTA

Compute Relative Threshold Sum approach (RTA)

computeSLABrho

Compute mean density of slab

computeSLABrhogs

Compute 'density over grain size' averaged over slab

computeTSA

Compute Threshold Sum Approach (TSA, lemons, yellow flags, 'Nieten')

deriveBDate

Derive burial dates from deposition dates in simulated profiles

deriveDatetag

Derive datetag from deposition dates in simulated profiles

export.snowprofileCsv

Export or write a snowprofile object to a CSV table

findPWL

Find layers of interest (e.g. PWLs) in snowprofile(Layers)

format_snowprofileLayers

Format snowprofileLayers

getColoursDensity

Gets colours for plotting snow density values

getColoursGrainSize

Gets colours for plotting grain size values

getColoursGrainType

Gets colours for plotting snow grain types

getColoursHardness

Gets colours for plotting snow hardness values

getColoursLWC

Gets colours for plotting LWC values

getColoursPercentage

Gets colours for plotting the snow layer property 'percentage'

getColoursSnowTemp

Gets colours for plotting snow temperature values

getColoursStability

Gets colours for plotting snow stability indices

guessDatetagsSimple

Guess datetags from deposition dates in simulated profiles

hasUnobservedBasalLayer

Check whether a profile is observed down to ground or not

importRDefaultPackages

Import R_DEFAULT_PACKAGES

insertUnobservedBasalLayer

Insert a special layer at the bottom to indicate a snow profile that's...

is.snowprofile

Check class snowprofile

is.snowprofileInstabilitySigns

Check class snowprofileInstabilitySigns

is.snowprofileLayers

Check class snowprofileLayers

is.snowprofileSet

Check class snowprofileSet

is.snowprofileTests

Check class snowprofileTests

new_snowprofile

Low-level constructor function for a snowprofile object

numberOfPWLsPerVerticalLevel

Count number of PWLs per vertical level

plot.snowprofile

Plot hardness profile

plot.snowprofileSet

Plot a single layer property in multiple profiles side-by-side

print.snowprofile

Print snowprofile object

rbind.snowprofile

Convert snowprofile into data.frame with columns for metadata

rbind.snowprofileSet

Concatenate snowprofileSet into a large data.frame with a row for each...

readSmet

Parse a SMET file

reformat_snowprofile

Reformat a malformatted snowprofile object

sarp.snowprofile-package

sarp.snowprofile: Snow Profile Analysis for Snowpack and Avalanche Res...

scanProfileDates

Read profile dates from prf/pro file

sd_sample_uncorrected

fast uncorrected sample standard deviation https://en.wikipedia.org/wi...

setColoursGrainType

Set colour scale for grain types

simplifyGtypes

Simplify detailed grain types to parent classes

snowprofile

High-level constructor for a snowprofile object

snowprofileCaaml

Read a Caaml file into a snowprofile object

snowprofileCsv_advanced

Read routine for advanced csv tables containing various snowprofile in...

snowprofileCsv

Read csv file into a snowprofile object

snowprofileInstabilitySigns

Constructor for a snowprofileInstabilitySigns object

snowprofileLayers

Constructor for a snowprofileLayers object

snowprofilePrf

Construct snowprofile object from PRF file

snowprofilePro

Construct snowprofile object from PRO file

snowprofileSet

Constructor for class snowprofileSet

snowprofileSno

Construct snowprofile object from SNO file

snowprofileTests

Constructor for a snowprofileTests object

sub-.snowprofileSet

Extract method

summary.snowprofile

Summary of a single snowprofile

summary.snowprofileSet

Summarize multiple snowprofiles

validate_snowprofile

Validate correctness of snowprofile object

validate_snowprofileLayers

Validate correctness of snowprofileLayers object

writePro

Write snowprofileSet to a PRO file

writeSmet

Write a SMET file

Analysis and plotting tools for snow profile data produced from manual snowpack observations and physical snowpack models. The functions in this package support snowpack and avalanche research by reading various formats of data (including CAAML, SMET, generic csv, and outputs from the snow cover model SNOWPACK), manipulate the data, and produce graphics such as stratigraphy and time series profiles. Package developed by the Simon Fraser University Avalanche Research Program <http://www.avalancheresearch.ca>. Graphics apply visualization concepts from Horton, Nowak, and Haegeli (2020, <doi:10.5194/nhess-20-1557-2020>).