warpModis2Landsat: Reprojects MODIS data using target proj and extent

Description Usage Arguments Value Author(s)

Description

Creates a character to be used in a system call, or directly in a terminal; and perform reprojection/resampling/subsetting of MODIS data, using proj and extent from a second raster.

Usage

1
warpModis2Landsat(target, resolution = 30, ModisInput, ModisSds, filename)

Arguments

target

Character. Target raster filename. Full path. Can Also be a list of characters.

resolution

Numeric, resolution to resample to.

ModisInput

Character. Input modis file.

ModisSds

Numeric If ModisInput is a hdf file, the subdataset number of the data.

filename

Character. Filename of the resulting output file. Full path.

Value

Character string of a gdalwarp expression. Before copy-pasting it in a terminal, you may need to print it using quote=FALSE.

Author(s)

Loic Dutrieux


loicdtx/VCF documentation built on May 21, 2019, 7:37 a.m.