Description Usage Arguments Value Author(s) See Also Examples
This function will become internal. It will be used if no collection is spezified in the different functions i.e.: getHDF
1 | getCOLLECTION(LocalArcPath,product,collection,newest=TRUE,forceCheck=FALSE)
|
LocalArcPath |
Character. Is needed because this funtion creates a hidden folder to store ftp directory inforamtion. If left empty standard path is used see |
product |
Character. MODIS grid product to check collections. For 'MODIS TERRA Vegetation Indices at 250 m ground resolution' use: |
collection |
If provided the function only checks it the product exists |
newest |
Logical. Default |
forceCheck |
Logical. Default |
A three digits integer converted to character, indicating the collection version(s). And a file in an hidden folder /MODIS_ARC/.auxiliaries/collections.txt
as database for further calls.
if collection
is provided only a TRUE
or FALSE
is retuned!
Matteo Mattiuzzi
1 2 3 4 5 6 | # update or get the existing collections for MOD11C3 and MYD11C3
getCOLLECTION(product="MxD11C3")
getCOLLECTION(product="MxD11C3",newest=FALSE)
getCOLLECTION(product="MxD11C3",collection=3)
getCOLLECTION(product="MxD11C3",collection=41)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.