Function for getting weather data from one station
station ID, see riem_stations()
date of start of the desired data, e.g. "2000-01-01"
date of end of the desired data, e.g. "2016-04-22"
The data is queried through https://mesonet.agron.iastate.edu/request/download.phtml.
a data.frame (tibble tibble) with measures, the number of columns can vary from station to station, but possible variables are
station: three or four character site identifier
valid: timestamp of the observation (UTC)
tmpf: Air Temperature in Fahrenheit, typically @ 2 meters
dwpf: Dew Point Temperature in Fahrenheit, typically @ 2 meters
relh: Relative Humidity in
drct: Wind Direction in degrees from north
sknt: Wind Speed in knots
p01i: One hour precipitation for the period from the observation time to the time of the previous hourly precipitation reset. This varies slightly by site. Values are in inches. This value may or may not contain frozen precipitation melted by some device on the sensor or estimated by some other means. Unfortunately, we do not know of an authoritative database denoting which station has which sensor.
alti: Pressure altimeter in inches
mslp: Sea Level Pressure in millibar
vsby: Visibility in miles
gust: Wind Gust in knots
skyc1: Sky Level 1 Coverage
skyc2: Sky Level 2 Coverage
skyc3: Sky Level 3 Coverage
skyc4: Sky Level 4 Coverage
skyl1: Sky Level 1 Altitude in feet
skyl2: Sky Level 2 Altitude in feet
skyl3: Sky Level 3 Altitude in feet
skyl4: Sky Level 4 Altitude in feet
presentwx: Present Weather Codes (space seperated), see e.g. [this manual](http://www.ofcm.gov/fmh-1/pdf/H-CH8.pdf) for further explanations.
metar: unprocessed reported observation in METAR format
1 2 3 4
## Not run: riem_measures(station = "VOHY", date_start = "2000-01-01", date_end = "2016-04-22") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.