terrestrial.season {lunar}R Documentation

Terrestrial Season

Description

Returns the season on specified dates.

Usage

terrestrial.season(
  x,
  cutoffs = c(80, 172, 263, 354),
  southern.hemisphere = FALSE
)

Arguments

x

A vector of Date values.

cutoffs

A vector of numbers corresponding to days of the year when season labels change.

southern.hemisphere

The season labels follow a northern hemisphere order unless this option is set to TRUE.

Details

The definitions for non-leap years are as follows (dates are inclusive):

Winter:

21 December through 21 March

Spring:

22 March through 21 June

Summer:

22 June through 20 September

Autumn:

21 September through 20 December

In leap years spring comes a day early! Thanks to Mehis Rohtla for finding an error in the 0.1-04 version code.

See Also

terrestrial.seasons

Examples

terrestrial.season(as.Date("2017-03-21"))
terrestrial.season(as.Date("2017-03-22"))
terrestrial.season(as.Date("2017-12-20"), southern.hemisphere = TRUE)
terrestrial.season(as.Date("2017-12-21"), southern.hemisphere = TRUE)

[Package lunar version 0.2-1 Index]