Identify the GMTED statistic and resolution based on the file path. Convert statistic and resolution to/from full string to/from statistic and resolution code.
process_gmted_codes(
string,
statistic = FALSE,
resolution = FALSE,
invert = FALSE
)
character
character(1). File path to GMTED data file.
logical(1). Matches statistic to statistic code.
logical(1). Matches resolution to resolution code.
logical(1). Default = FALSE. invert = TRUE
assumes string
provides statistic or resolution code, and returns full length statistic
or resolution.