#Get information about available rain gauges.
#within a 10km radius of Lat = 54.5, Lon = -3.2
if (FALSE) RainEA(Lat = 54.5, Lon = -3.2)
#Now we'll use the WISKI reference for the Honister rain gauge
# to get some data for the Dec 2015 (default dates)
if (FALSE) Honister15 <- RainEA(WISKI_ID = "592463")
#Now we'll have a look at the top of the data and plot it
if (FALSE) head(Honister15)
if (FALSE) plot(Honister15, type = "h", ylab = "Rainfall (mm)")
#Now we'll get the daily rain for the same period and plot it
if (FALSE) Honister24 <- RainEA(WISKI_ID = "592463", Period = 24)
if (FALSE) plot(Honister24, type = "h", ylab = "Rainfall (mm)")
Run the code above in your browser using DataLab