lookupNOAAStationID: Lookup NOAA Station ID

View source: R/locations.R

lookupNOAAStationIDR Documentation

Lookup NOAA Station ID

Description

Lookup the NOAA Station ID for the specified location. The Location must be specified by its latitude and longitude (as decimal degrees) - if these are unknown the geocodeLocation function can be used to get the coordinates of a location by address, town, etc.

Usage

lookupNOAAStationID(lat, lon, max_radius = 25)

Arguments

lat

Location latitiude (decimal degrees)

lon

Location longitude (decimal degrees)

radius

Max Search radius (miles, default=25)

Details

The query will search for NOAA stations within the specified max radius centered around the location position. If multiple stations are found, the ID of the first station is returned.

Value

The NOAA Station ID

See Also

Other Location: Location-class, Location, buildLocationTemplate(), geocodeLocation(), getCountryCodes(), getLocationTypes(), writeLocationTemplate()


TriticeaeToolbox/breedbase.R documentation built on March 23, 2024, 10:29 a.m.