- product
character
. MODIS grid product to check for existing
collections, see getProduct()
.
- collection
character
or integer
. If provided, the function only
checks if the specified collection exists and returns the collection number
formatted based on the 'as' parameter or FALSE
if it doesn't exists. The
check is performed on LP DAAC as the exclusive
source for several products or, for snow cover (MOD/MYD10) and sea ice
extent (MOD/MYD29), NSIDC.
- newest
logical
. If TRUE
(default), return only the newest
collection, else return all available collections.
- forceCheck
logical
, defaults to FALSE
. If TRUE
, connect to the
LP DAAC or NSIDC server and get available collections, of which an updated
version is permanently stored in MODIS:::combineOptions()$auxPath
.
- as
character
, defaults to "character"
which returns the typical
3-digit collection number (i.e., "061"
). as = "numeric"
returns the
result as numeric
(i.e., 61
).
- ...
Additional arguments passed to MODISoptions()
. Permanent
settings for these arguments are temporarily overridden.