Description Usage Arguments Value Author(s) Examples
With this function you define the period to be filtered (begin:end), the output temporal resolution (nDays), and it selected from 'files' the required data.
1 |
files |
MODIS filenames, eg output of |
nDays |
Integer. Time interval for the output layers. Default is "asIn" that includes the exact input dates within the period selected using |
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 |
pillow |
Number of days added on the beginning and on the end of a time serie. |
pos1 |
Start position of date in the filename. You have to count, sorry! |
pos2 |
End position of date in the filename. You have to count, sorry! |
format |
How is the date formatted in the |
List
Matteo Mattiuzzi
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# note, this function can be applied to any files that have a date information in the _filename_!
files <- c("MOD13A2.A2010353.1_km_16_days_composite_day_of_the_year.tif",
"MOD13A2.A2011001.1_km_16_days_composite_day_of_the_year.tif",
"MYD13A2.A2010361.1_km_16_days_composite_day_of_the_year.tif",
"MYD13A2.A2011009.1_km_16_days_composite_day_of_the_year.tif")
orgTime(files)
orgTime(files,nDays=2,begin="2010350",end="2011015")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.