get_ghcn_inventory {FedData} | R Documentation |
Download and crop the inventory of GHCN stations.
Description
get_ghcn_inventory
returns a SpatialPolygonsDataFrame
of the GHCN stations within
the specified template
. If template is not provided, returns the entire GHCN inventory.
Usage
get_ghcn_inventory(template = NULL, elements = NULL, raw.dir)
Arguments
template |
An |
elements |
A character vector of elements to extract. Common elements include 'tmin', 'tmax', and 'prcp'. |
raw.dir |
A character string indicating where raw downloaded files should be put. The directory will be created if missing. |
Details
Stations with multiple elements will have multiple points. This allows for easy mapping of stations by element availability.
Value
A Simple Feature
of the GHCN stations within
the specified template
[Package FedData version 4.3.0 Index]