yearmonthday_to_julianday: Get the julian day for a year/month/day date

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function uses the date package's mdy.date function to get the Julian day (count of the day in the year, from 1-365, or 1-366 for leap years) from the input year, month, and day.

Usage

1
  yearmonthday_to_julianday(year, month, day)

Arguments

year

as numeric, 4 digits

month

as numeric, 1-2 digits

day

as numeric, 1-2 digits

Value

julian_day, the julian day between 1-365 or 1-366 (for leap years)

Author(s)

Nicholas J. Matzke matzke@berkeley.edu

References

Ackerman S, Frey R, Strabala K, Liu Y, Gumley L, Baum B and Menzel P (2010). "Discriminating clear-sky from cloud with MODIS algorithm theoretical basis document (MOD35)." MODIS Cloud Mask Team, Cooperative Institute for Meteorological Satellite Studies, University of Wisconsin - Madison. <URL: http://modis-atmos.gsfc.nasa.gov/_docs/MOD35_ATBD_Collection6.pdf>.

GoldsmithMatzkeDawson2013

See Also

yearday_to_date

Examples

1
2
year=2011; month=06; day=15
yearmonthday_to_julianday(year, month, day)

modiscloud documentation built on May 2, 2019, 5:19 p.m.