map REddyProc names the Berkeley 2016 release of the Fluxnet data

getBGC05ToAmerifluxVariableNameMapping(map = character(), 
    mapDefault = c(Year = "YEAR", DoY = "DOY", 
        Rg = "SW_IN", Tair = "TA", Tsoil = "TS", 
        rH = "RH", VPD = "VPD", Ustar = "USTAR", 
        NEE_orig = "NEE_PI", H_orig = "H_PI", 
        LE_orig = "LE_PI", NEE_f = "NEE_F", 
        H_f = "H_F", LE_f = "LE_F", NEE_fqc = "NEE_QC", 
        H_fqc = "H_QC", LE_fqc = "LE_QC"))

Arguments

map

named character vector: additional mapping, that extends or overwrites defaults in mapDefault

mapDefault

named character vector: default mapping

Details

Get a mapping of variable names of REddyProc defaults to names of the Berkeley 2016 release of the Fluxnet data

Author

TW, Department for Biogeochemical Integration at MPI-BGC, Jena, Germany <REddyProc-help@bgc-jena.mpg.de> [cph], Thomas Wutzler <twutz@bgc-jena.mpg.de> [aut, cre], Markus Reichstein <mreichstein@bgc-jena.mpg.de> [aut], Antje Maria Moffat <antje.moffat@bgc.mpg.de> [aut, trl], Olaf Menzer <omenzer@bgc-jena.mpg.de> [ctb], Mirco Migliavacca <mmiglia@bgc-jena.mpg.de> [aut], Kerstin Sickel <ksickel@bgc-jena.mpg.de> [ctb, trl], Ladislav <U+0160>igut <sigut.l@czechglobe.cz> [ctb]

Examples

# adding mapping of foo, and overwriting mapping of DoY
getBGC05ToAmerifluxVariableNameMapping(c(foo = "FOO", DoY = "doy"))
#>     Year      DoY       Rg     Tair    Tsoil       rH      VPD    Ustar 
#>   "YEAR"    "doy"  "SW_IN"     "TA"     "TS"     "RH"    "VPD"  "USTAR" 
#> NEE_orig   H_orig  LE_orig    NEE_f      H_f     LE_f  NEE_fqc    H_fqc 
#> "NEE_PI"   "H_PI"  "LE_PI"  "NEE_F"    "H_F"   "LE_F" "NEE_QC"   "H_QC" 
#>   LE_fqc      foo 
#>  "LE_QC"    "FOO"