convert_varname_eurocordex2swat: Convert EURO-CORDEX variable name to SWAT2012 variable name

Description Usage Arguments Value Examples

Description

Convert EURO-CORDEX variable name to SWAT2012 variable name

Usage

1
convert_varname_eurocordex2swat(varname, stop_on_error = TRUE)

Arguments

varname

character or character-array: one or more EURO-CORDEX variable names

stop_on_error

boolean: stop, when one or more entries of varname are not convertible

Value

character or character-array: SWAT2012 variable names

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 var <- 'hurs'
 var_swat <- convert_varname_eurocordex2swat(var)
 print(var_swat)
 # [1] "hmd"
 
 var <- 'rsds'
 var_swat <- convert_varname_eurocordex2swat(var)
 print(var_swat)
 # [1] "slr"
 
 var <- 'tasmax'
 var_swat <- convert_varname_eurocordex2swat(var)
 print(var_swat)
 # [1] "tmp"
 
 

neumannd/eurocordex2swatTools documentation built on May 14, 2019, 2:17 p.m.