EPOCHyear: Epoch Year

Description Usage Arguments Value Author(s) See Also Examples

View source: R/EPOCHyear.R

Description

Get year and julian day given number of days since origin

Usage

1
EPOCHyear(iday, origyr = 1972)

Arguments

iday

Number of days since origin

origyr

origin year, default=1972

Value

List:

yr

Year

jd

Julian day in Year

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

See Also

EPOCHday, recdate

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
tyears   <-  1973:2009

E1  <-  EPOCHday(tyears, jd=1,   origyr=1972       )

EPOCHyear(E1$jday,   origyr=1972  )

#######  here is an example using year Month and day of month
###  use March 19 for each year:
ii  <-  tojul(tyears, 3, 19)-tojul(tyears, 1, 1)

E1  <-  EPOCHday(tyears, jd=ii,  origyr=1972       )

EPOCHyear(E1$jday,   origyr=1972  )

RSEIS documentation built on Aug. 2, 2021, 5:07 p.m.