Learn R Programming

GHCNr (version 1.4.6)

annual: Calculate Annual Timseries

Description

annual() aggregates the daily timeseries into an annual one. Aggregation is done differently for TMIN, TMAX, and PRCP.

Usage

annual(x)

Value

A tibble with the annual timeseries at the stations.

Arguments

x

Object of class ghcn_daily. See daily() for details.

Details

Aggregation is done as:

TMAX

Maximum temperature recorded in the year

TMIN

Minimum temperature recorded in the year

PRCP

Total (cumulative) precipitation amount in the year

Examples

Run this code
annual(CA003076680)

Run the code above in your browser using DataLab