USGS APIs are used to determine elevation associated with the locations specified by the
lonVar
and latVar
columns of the incoming dataframe.
addUSGSElevation(df, lonVar = "longitude", latVar = "latitude",
existingMeta = NULL)
dataframe with geolocation information (e.g. created by wrcc_qualityControl()
or airsis_qualityControl
)
name of longitude variable in the incoming dataframe
name of the latitude variable in the incoming dataframe
existing 'meta' dataframe from which to obtain metadata for known monitor deployments
Input dataframe with (possibly) additional column: elevation
.