quarterly: Calculate Quarterly Timseries

View source: R/quarterly.R

quarterlyR Documentation

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)

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

Value

A tibble with the quarterly timeseries at the stations.

Examples

quarterly(CA003076680)

GHCNr documentation built on April 3, 2025, 11:16 p.m.