Description Usage Arguments Value Author(s) Examples
This function organises the storage structure of the MODIS-archive accordingly to the settings in '~/.MODIS_opts.R'. depending on the 'source'
you set, you can also use this function to gatter all MODIS-grid files on you Computer and organise it like it is set in '~/.MODIS_opts.R'. The main purpose is the organisation of the archive, but it is also possible to use it for coping a subset of files to a desidered location!
1 |
from |
Character. Local path to look for MODIS files. If missing the default archive |
to |
Character. Default is |
structure |
Character. Default is |
pattern |
Regular expression passed to |
move |
Logical. Default is |
quiet |
Logical. Default is |
If quiet==FALSE
an information of how many files have been moved/copied or deleted.
Matteo Mattiuzzi
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# MOVE all MODIS grid data to the directory and structure how defined in the '~/.MODIS_opts.R' file
# (Please check before running: \code{options("MODIS_localArcPath")})
orgStruc()
# COPY all MOD13Q1 from 2001 to folder "~/MyFiles/MOD13Q1.collection/"
orgStruc(pattern="MOD13Q1.A2001*.",to="~/MyFiles",structure="PRODUCT.CCC",move=FALSE)
# COPY all MOD13Q1 to folder "~/MyFiles/"
orgStruc(pattern="MOD13Q1.*.",to="~/MyFiles",structure="",move=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.