Assembles individual station metadata from a CEFA webservice into a standardized dataframe. Metdata columns include:
deviceDeploymentID -- unique identifier
deviceID -- device identifier
locationID -- location identifier
locationName -- English language name
longitude -- decimal degrees E
latitude -- decimal degrees N
elevation -- elevation of station in m
countryCode -- ISO 3166-1 alpha-2
stateCode -- ISO 3166-2 alpha-2
timezone -- Olson time zone
nwsID -- NWS station identifier (for FW13 data)
wrccID -- WRCC station identifier (for WRCC data)
nessID -- NESS station identifier (in WRCC data)
agencyName -- responsible agency (in WRCC data)
cefa_createMeta(
metadataUrl = "https://cefa.dri.edu/raws/RAWSfw13list.xlsx",
verbose = TRUE
)URL for station metadata.
Logical flag controlling detailed progress statements.
Dataframe of station metadata.
if (FALSE) {
# Fail gracefully if any resources are not available
try({
library(RAWSmet)
library(MazamaSpatialUtils)
setSpatialDataDir("~/Data/Spatial")
meta <- cefa_createMeta(verbose = TRUE)
dplyr::glimpse(meta, width = 75)
}, silent = FALSE)
}