
Guess standard MET_* names from arbitrary column names
Source: R/standardise_met.R
guess_met_vars.RdCase-insensitive pattern matching against a built-in synonym table covering common logger, council, NIWA/CliFlo, ERA5 and CMIP naming.
Value
character vector the same length as x, holding the matched
MET_* name or NA where nothing matched.
Examples
guess_met_vars(c("AirTemp_C", "WindSpd", "SolarRad", "junk"))
#> [1] "MET_tmpair" "MET_wndspd" "MET_radswd" NA