Description Usage Arguments Details Value Examples
Convert SWAT2012 variable name to EURO-CORDEX variable name
1 | convert_varname_swat2eurocordex(varname, stop_on_error = TRUE)
|
varname |
character or character-array: one or more SWAT2012 variable names |
stop_on_error |
boolean: stop, when one or more entries of varname are not convertible |
Converts SWAT2012 variable name to EURO-CORDEX variable name.
NOTE: It might return one or MORE values per input value. Please have a look at the examples for details.
character or character-array: EURO-CORDEX variable names
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # PLEASE NOT THE LAST EXAMPLE!
var <- 'pcp'
var_ec <- convert_varname_swat2eurocordex(var)
print(var_ec)
# [1] "pr"
var <- 'slr'
var_ec <- convert_varname_swat2eurocordex(var)
print(var_ec)
# [1] "rsds"
var <- 'tmp'
var_ec <- convert_varname_swat2eurocordex(var)
print(var_ec)
# [1] "tasmin" "tasmax"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.