arcStats | R Documentation |
In the same manner as getHdf()
, this function quantifies the availability
of local MODIS .hdf
data and gives you a visual and/or tabular overview.
arcStats( product, collection = NULL, extent = "global", begin = "2000.01.01", end = format(Sys.Date(), "%Y.%m.%d"), asMap = TRUE, outName = NULL, ... )
product |
|
collection |
|
extent |
Extent information, defaults to |
begin |
|
end |
|
asMap |
Controls output type. Possible options are |
outName |
|
... |
Arguments passed to |
An invisible NULL
(probably this will change to a matrix-like object
similar to the .csv
output). If asMap = TRUE
, a "table.csv"
and a
"image.png"
file in 'outDirPath'.
Matteo Mattiuzzi
## Not run: # The following examples expect that you have some data stored locally! ########################################################### # generates 2 png's and 2 csv's, one for TERRA one for AQUA arcStats(product="M.D13Q1") # -"- with the specified countries arcStats(product="M.D13Q1",extent=c("austria","germany","italy")) # generates 1 png and 1 csv for AQUA arcStats(product="MYD13Q1",begin="2005001",outName="MyDataStart2005") # generates 1 png for AQUA for the selected area and plots it in 'Sinusoidal' arcStats(product="MYD13Q1",begin="2005001",asMap=TRUE, outName="InteractiveSelection2005", extent=getTile(), outProj="asIn") # -"- and plots it in 'Geographic' Coordinates. arcStats(product="MYD13Q1",begin="2005001",asMap=TRUE, outName="InteractiveSelection2005", extent=getTile(), outProj="GEOGRAPHIC") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.