get_8days: Compute the first or last day of 8-day intervals for a given...

Description Usage Arguments Value See Also

View source: R/days.R

Description

Compute the first or last day of 8-day intervals for a given year. Handles leap years when finding the last day of 8-day intervals.

Usage

1
get_8days(year, form = "%j", when = "first")

Arguments

year

numeric or character the year(s) to compute

form

charcater, by default we return the day of the year in '001' form

when

character either 'first' or 'last' to indicate the first or last day of the 8-day interval

Value

a list of character vectors of the last day of the 8-day interval for the years specified with one list element per year. Be advised that the first day of winter for a given year occurs in the prior year.

See Also

http://oceancolor.gsfc.nasa.gov/BROWSE_HELP/L3/

Other DAYS: get_monthdays; get_seasondays


BigelowLab/neracooscrawler documentation built on May 5, 2019, 2:44 p.m.