sscale2sea: Provides the letter code for months

Description Usage Arguments Details Value Examples

Description

Provides the letter code for months

Usage

1
sscale2sea(sub_scale, year_starts = months(-1))

Arguments

sub_scale

Typically the sub_period variable from decomposed object

year_starts

The start of the year

Details

Typical workflow is to set year_starts in the decomp function e.g. to months(-1) or months(2). These both result in climatological seasons (December-January-February - DJF, etc.). The latter in addition results in grouping of warm and cold seasons together at M6 scale. The sub_period field of the decomposed object is with respect to year_starts, i.e. when year_starts = months(-1) then sub_period = 1 corresponds to December. To obtain the three-letter codes back, sscale2sea is used. The function is typically used for plotting.

Value

Vector of three-letter codes for seasons

Examples

1
sscale2sea(1:12, year_starts = months(-1))

hanel/musica documentation built on May 17, 2019, 2:28 p.m.