transDate: Function for MODIS date conversions and testing.

Description Usage Arguments Value Author(s) Examples

Description

This function converts input dates (begin and end) to 'YYYY-MM-DD' and 'YYYYDDD'. If no dartes are specified the function uses a past and future date!

Usage

1

Arguments

begin

character string with the following sequences: "YYYY.MM.DD" or "YYYYDDD", separator can be any (".","-","/",...)

end

character string with the following sequences: "YYYY.MM.DD" or "YYYYDDD", separator can be any (".","-","/",...)

Value

character list with 4 slots of class (run the function to see)

Author(s)

Matteo Mattiuzzi

Examples

1
2
3
4
5
6
7
transDate()

transDate(begin="2009.01.01")

transDate(end="2009.01.01")

transDate(begin="2009-01-01",end="2011.03.16")

aubreyd/modis4rwrfhydro documentation built on May 10, 2019, 2:13 p.m.