if (FALSE) {
# 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="")
}
Run the code above in your browser using DataLab