orgTime: Handles the in/output date used in the...

Description Usage Arguments Value Author(s)

Description

See orgTime in the MODIS package, which this function is a copy-paste, with one modification of the nDays argument which accepts now user-defined time series

Usage

1
2
orgTime(files, nDays = "asIn", begin = NULL, end = NULL, pillow = 75,
  pos1 = 10, pos2 = 16, format = "%Y%j")

Arguments

files

MODIS filenames, eg output of runGdal

nDays

Integer, Date vector or character string indicating the time interval/time stamps for the output layers. Default is "asIn" that includes the exact input dates within the period selected using begin and end. Can also be nDays="1 month" or "1 week"

begin

Default is from earliest input dataset. Here you can supply the begin date of the output

end

Default to the end of the input dataset. Here you can specify the end date of the output (note, the exact end-date depends on begin and nDays argument.

pillow

Number of days added on the beginning and on the end of a time serie.

pos1

Start position of date in the filename.

pos2

End position of date in the filename.

format

How is the date formatted in the file, default expects: 'YYYYDDD' ("%Y%j").

Value

See orgTime in the MODIS package

Author(s)

Matteo Mattiuzzi and Antoine Stevens


antoinestevens/MODISExtra documentation built on May 10, 2019, 12:23 p.m.