Description Usage Arguments Value Author(s) See Also Examples
Checks and retirves MODIS collection.
1 2 |
product |
Character. MODIS grid product to check for existing collections. For 'MODIS TERRA Vegetation Indices at 250 m ground resolution' use: 'MOD13Q1'. For vegetation indices from TERRA and AQUA use 'MxD13Q1'. See |
collection |
If provided the function only checks if the collection exists and returns the collection number formatted on base of the |
newest |
Logical. Default |
forceCheck |
Logical. Default |
as |
character. Default |
quiet |
Default |
Vector. With three digits character or a numeric value, indicating the collection version(s). And a file in an hidden folder paste(MODIS:::.getDef('localArcPath'),'/.auxiliaries/collections.txt',sep="")
as database for further calls.
if collection
is provided only the (formatted) collection is returned if available or a FALSE
if not!
Matteo Mattiuzzi
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# update or get collections for MOD11C3 and MYD11C3
getCollection(product="M.D11C3")
getCollection(product="M.D11C3",newest=FALSE)
getCollection(product="M.D11C3",collection=3)
getCollection(product="M.D11C3",collection=41)
getCollection(product="M.D11C3",collection="041")
getCollection(product="M.D11C3",forceCheck=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.