Description Usage Arguments Methods Author(s) Source See Also Examples
Specifying input parameters this function, gets MODIS grid data from archive (HTTP/FTP or local) and processes the files with the 'MRT-grid' tool.
1 |
... |
See: Methods |
product | See: ?getProduct |
|
begin | See: ?transDate |
|
end | See: ?transDate |
|
extent | See: ?getTile and Details! |
|
SDSstring | See: ?getSds. Default is extract all SDS (layers). |
|
job | Character. Name of the current job for the creation of the output folder. If not specified it is created: 'PRODUCT.COLLECTION_DATETIME' | |
localArcPath | Character. Default options("MODIS_localArcPath") . Local path to look for and/or to download MODIS files. |
|
outDirPath | Character. Default options("MODIS_outDirPath") . Root directory where to write job folder. |
|
dataType | Default 'GeoTiff' specified in MODISoptions() , 'MRT' supports: raw binary (hdr+dat), HDF-EOS (hdf) or GeoTiff (tif). Any other format specified through MODISoptions or dataType , is switched to 'GeoTiff'. |
|
outProj | Character. See 'MRT' manual. | |
zone | Zone number used as optional setting only for outProj="UTM" , if not set it is autodetected. See 'MRT' manual. |
|
projPara | Character. In that form: "6371007.18 0.00 0.00 ...". for outProj %in% c("GEO","SIN") it is autodetected. See 'MRT' manual. |
|
datum | Character. Default 'NODATUM'. See 'MRT' manual. | |
mosaic | Logical, default TRUE . Mosaic files of not? One case for setting mosaic=FALSE is a to large extent . HDF4 file supports max 2GB filesize, if crossed mosaicing process will fail. |
|
anonym | Logical, default TRUE . If FALSE the job name is added at the end of the root filename. |
|
quiet | Logical. Default FALSE , its up to you to switch to 'boring' alias FALSE . Not fully implemented! |
|
dlmethod | default options("MODIS_dlmethod") . Argument passed to ?download.file . . See ?MODISoptions |
|
stubbornness | Default options("MODIS_stubborness") . See ?MODISoptions |
|
Matteo Mattiuzzi and Forrest Stevens
You can obtain MRT-grid after registration from: https://lpdaac.usgs.gov/tools/modis_reprojection_tool
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
runMrt( product="MOD11A1", extent="austria", begin="2010001", end="2010002", SDSstring="101",
job="ExampleGEOdelme", outProj="GEO")
runMrt( product="MOD11A1", extent="austria", begin="2010001", end="2010002", SDSstring="101",
job="ExampleSINdelme", outProj="SIN")
runMrt( product="MOD11A1", extent="austria", begin="2010001", end="2010002", SDSstring="101",
job="ExampleUTMdelme", outProj="UTM")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.