nearest_stations: Find Nearest GSOD Stations to a Specified Latitude and Longitude
Description
Given latitude and longitude values entered as decimal degrees (DD), this
function returns a list (atomic vector) of STNID values, which can be used in
get_GSOD to query for specific stations as an argument in the
station parameter of that function.
Usage
nearest_stations(LAT, LON, distance)
Arguments
LAT
Latitude expressed as decimal degrees (DD) [WGS84]
LON
Longitude expressed as decimal degrees (DD) [WGS84]
distance
Distance in kilometres from point for which stations are to
be returned.