This function formats ground water table information so it can be understood by other OBIC functions

format_gwt(B_GWL_CLASS)

Arguments

B_GWL_CLASS

(character) Ground water table classes

Value

A standardized B_GWL_CLASS value as required for the OBIC functions. A character string.

Examples

format_gwt(c('sVII', 'sVI'))
#> [1] "GtVII" "GtVI" 
format_gwt(c('sVII', 'sVI','GtII', 'GtI'))
#> [1] "GtVII" "GtVI"  "GtII"  "GtI"