orgStruc | R Documentation |
Reorganize the storage structure of your MODIS archive according to the
settings in options("MODIS_arcStructure")
. Depending on the specified
'source', you can also use this function to gather all MODIS grid files on
your machine and reorganize them. The main purpose is to organize the
archive, but it is also possible to copy a subset of files to a desired
location!
orgStruc(from, to, structure, pattern, move = FALSE, quiet = FALSE)
from |
|
to |
|
structure |
|
pattern |
Regular expression passed to |
move |
|
quiet |
|
If quiet = FALSE
(default), information on how many files have been moved
(or copied) and deleted is printed to the console.
Matteo Mattiuzzi
## Not run: # MOVE all MODIS grid data to the directory and structure as defined in # options("MODIS_localArcPath", "MODIS_arcStructure") orgStruc(move = TRUE) # COPY all MOD13Q1 from 2001 to folder "MyFiles/MOD13Q1.collection/" orgStruc(pattern="MOD13Q1.A2001*.",to="MyFiles",structure="PRODUCT.CCC") # COPY all MOD13Q1 to folder "MyFiles/" orgStruc(pattern="MOD13Q1.*.",to="MyFiles",structure="") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.