close_noaaisd_data: Find closest data from the NOAA ISD dataset to a specified...

Description Usage Arguments Value See Also Examples

View source: R/incoming_data.R

Description

Search through the Wang & Dillon cycling dataset, and find the closest stations to a specified sample site.

Usage

1
2
close_noaaisd_data(samp_coords = stop("Sample coords c(lon,lat) required."),
  samp_interval = NULL, ...)

Arguments

samp_coords

The cbind(lon, lat) of the search origin, in decimal degrees, negative south and west.

samp_interval

Period over which to search for data c(start,end), "mm/dd/yyyy". Default returns all.

...

additional parameters to limit search (see close_stations).

Value

a data frame with usaf and wban identifiers for use with get_noaaisd_data.

See Also

close_stations for constraining search.

Examples

1
2
3
4
close_noaaisd_data(samp_coords = c(9.0556, 48.52),
                   samp_interval = c("1/1/1998", "4/7/2007"),
                   radius = 50,
                   n = 2)

georgebiogeekwang/tempcycles documentation built on May 17, 2019, 1:15 a.m.