swe_to_melt: Snow water equivalent to melt

Description Usage Arguments Value Examples

View source: R/swe_to_melt.R

Description

Converts a snow water equivalent series (from snow pillow) into a melt series.

Usage

1

Arguments

df

data frame with 'swe' serie in the second column. See 'read_XXX' functions.

Value

Data frame containing the numeric vector with melted snow.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Relative path to raw data
full_path <- system.file('extdata', package = "hydroToolkit")

# Read swe sheet
toscas_swe <- read_DGI(file = 'Toscas.xlsx', sheet = 'swe',
                colName = 'swe(mm)', path = full_path)

# swe to melt
toscas_melt <- swe_to_melt(df = toscas_swe)               
                

hydroToolkit documentation built on July 2, 2020, 1:04 a.m.