get_dates_from_POSIXct: Get the time information from POSIXct times

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

View source: R/modiscloud.R

Description

This function, for each input date, gets the year, month, day, and hourmin from a POSIXct date (which is the # of seconds from "1970-01-01 00:00.00 UTC"). Returns a formatted date in data.frame format

Usage

1
  get_dates_from_POSIXct(POSIX_ct_dates)

Arguments

POSIX_ct_dates

list of POSIXct dates

Details

The function contains a check for singe dates. This is a version of get_dates_from_POSIXct for use with a list of input POSIXct dates, rather than a single date.

Value

dtf data.frame containing year, month, day, julian day, and hourmin / sec

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

get_date_from_POSIXct

make_POSIXct_date

Examples

1
2
POSIX_ct_dates = c(10000000, 20000000)
get_dates_from_POSIXct(POSIX_ct_dates)

modiscloud documentation built on May 31, 2017, 3:10 a.m.

Search within the modiscloud package
Search all R packages, documentation and source code