Description Usage Format Source See Also Examples
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.
1 | data("weather")
|
A data frame with 3653 observations on the following 8 variables.
YEAR
a numeric vector
MONTH
a numeric vector
DAY
a numeric vector
PRCP.VALUE
a numeric vector
SNOW.VALUE
a numeric vector
SNWD.VALUE
a numeric vector
TMAX.VALUE
a numeric vector
TMIN.VALUE
a numeric vector
GHCN data comprises both current and historical weather station data world-wide.
1 2 3 4 5 6 7 8 9 10 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.