View source: R/getCollection.R
getCollection | R Documentation |
Checks and retrieves available MODIS collection(s) for a given product.
getCollection( product, collection = NULL, newest = TRUE, forceCheck = FALSE, as = "character", ... )
product |
|
collection |
|
newest |
|
forceCheck |
|
as |
|
... |
Additional arguments passed to |
A 3-digit character
or numeric
object (depending on 'as') or, if
length(product) > 1
, a list
of such objects with each slot corresponding
to the collection available for a certain product. Additionally, a text file
in a hidden folder located in getOption("MODIS_localArcPath")
as database
for future calls. If 'collection' is provided, only the (formatted)
collection (or FALSE
if it could not be found) is returned.
Matteo Mattiuzzi, Florian Detsch
getProduct()
.
## Not run: # update or get collections for MCD12C1 and MCD12Q1 getCollection(product = "MCD12.*") getCollection(product = "MCD12.*", newest = FALSE) getCollection(product = "MCD12.*", forceCheck = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.