| weather {VFS} | R Documentation |
Ten years of daily weather data
Description
The VFS offers the capability of importing weather data from the GHCN, either from local files or the online repository, but this import is slow, so the result of the import is saved as an R object for those examples that need it.
The original GHCN file has many more columns.
Usage
data("weather")
Format
A data frame with 3653 observations on the following 8 variables.
YEARa numeric vector
MONTHa numeric vector
DAYa numeric vector
PRCP.VALUEa numeric vector
SNOW.VALUEa numeric vector
SNWD.VALUEa numeric vector
TMAX.VALUEa numeric vector
TMIN.VALUEa numeric vector
Source
GHCN data comprises both current and historical weather station data world-wide.
See Also
Examples
# state college GHCN data
#
# created by:
# weather <- read.dly(system.file("extdata", "USC00368449.dly", package = "VFS"))
data("weather") # same object: 10 years of daily weather data
weather.param <- wth.param(weather, method="markov")
rain.compare <- rainfall(365*3, weather.param)
temp.compare <- temperature(365*3, weather.param)
[Package VFS version 1.0.2 Index]