weather: Ten years of daily weather data

weatherR 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.

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

Source

GHCN data comprises both current and historical weather station data world-wide.

See Also

wth.param, read.dly

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)


sgoslee/VFS documentation built on May 25, 2022, 5:11 a.m.