Learn R Programming

GHCNr (version 1.4.6)

quarterly: Calculate Quarterly Timseries

Description

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

Usage

quarterly(x)

Value

A tibble with the quarterly timeseries at the stations.

Arguments

x

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

Details

Quarters are defined as:

first

January to March

second

April to June

third

July to September

fourth

October to December

Aggregation is done as:

TMAX

Maximum temperature recorded in the quarter

TMIN

Minimum temperature recorded in the quarter

PRCP

Total (cumulative) precipitation amount in the quarter

Examples

Run this code
quarterly(CA003076680)

Run the code above in your browser using DataLab