Please note that in contrast to runGdal()
, MRT's resample
function does
not offer an 'overwrite' option, meaning that existing files will be
overwritten (see also MRT User's Manual, p. 59).
Further arguments that require particular attention when operating MRT are
summarized in the following list:
dataFormat:
Output file formats include:
Any other format specified through MODISoptions()
or 'dataFormat' is
ignored and set to "GeoTiff"
.
outProj:
MRT uses calls to the General Cartographic Transformation Package (GCTP) and
as such allows projection to the following mapping grids:
Albers Equal Area ("AEA"
)
Equirectangular ("ER"
)
Geographic ("GEO"
)
Hammer ("HAM"
)
Integerized Sinusoidal ("ISIN"
)
Interrupted Goode Homolosine ("IGH"
)
Lambert Azimuthal ("LA"
)
Lambert Conformal Conic ("LCC"
)
Mercator ("MERCAT"
)
Molleweide ("MOL"
)
Polar Stereographic ("PS"
)
Sinusoidal ("SIN"
)
Transverse Mercator ("TM"
)
Universal Transverse Mercator ("UTM"
)
See also 'References' and MRT User's Manual, pp. 6 and 29.
projPara:
Output projection parameters are autodetected for
outProj \%in\% c("SIN", "GEO")
:
For detailed information on defining parameters for other target projections,
please refer to 'Appendix C: Projection Parameters' in the MRT User's Manual,
p. 65-66.