Usage
get_weather_radars(source = c("opera", "nexrad"), use_cache = TRUE, ...)
Arguments
- source
Source of the metadata.
"opera"
,"nexrad"
or"all"
. If not provided,"opera"
is used.- use_cache
Logical indicating whether to use the cache. Default is
TRUE
. IfFALSE
the cache is ignored and the file is fetched anew. This can also be useful if you want to force a refresh of the cache.- ...
Additional arguments passed on to reading functions per source, currently not used.
Value
A sf or tibble with weather radar metadata. In all cases the column source
is
added to indicate the source of the data and radar
to show the radar identifiers
used in other functions like get_pvol()
and get_vpts()
.
Details
The source files for this function are:
For
opera
: OPERA_RADARS_DB.json (main/current) and OPERA_RADARS_ARH_DB.json (archive). A columnorigin
is added to indicate which file the metadata were derived from.For
nexrad
: nexrad-stations.txt.