runMrt: Run Modis Reprojection Tool ('MRT-grid') with specified...

Description Usage Arguments Methods Author(s) Source See Also Examples

View source: R/runMrt.R

Description

Specifying input parameters this function, gets MODIS grid data from archive (HTTP/FTP or local) and processes the files with the 'MRT-grid' tool.

Usage

1

Arguments

...

See: Methods

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

Author(s)

Matteo Mattiuzzi and Forrest Stevens

Source

You can obtain MRT-grid after registration from: https://lpdaac.usgs.gov/tools/modis_reprojection_tool

See Also

getHdf

Examples

 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)

MODIS documentation built on May 2, 2019, 6:09 p.m.

Related to runMrt in MODIS...