getSwathSDS: Extract data layers from MODIS Swath products

Description Usage Arguments Value See Also

Description

Extract and process scientific datasets (SDS) from MODIS Swath products.

Usage

1
2
getSwathSDS(x, prm, ext = NULL, template = NULL, method = "bilinear",
  dsn = "", cores = 1L, verbose = FALSE)

Arguments

x

character, one or multiple .hdf filename(s).

prm

character, one or multiple SDS to be processed. See listSwathSDS for valid layer names.

ext

Extent or any other objects from which an Extent can be derived, passed on to crop. The required coordinate reference system is EPSG:4326 (see http://spatialreference.org/ref/epsg/wgs-84/). Note that although the usage of this argument is optional, specifying a reference extent results in considerable speed gains, particularly when a template is provided.

template

Raster* template with parameters that the target SDS should be resampled to, see resample.

method

character, the resampling method passed on to resample if template is specified.

dsn

character, target folder for file output (optional). Note that if not provided, all resulting images are stored 'in memory'.

cores

integer, number of cores for parallel computing, see getSwathExtent.

verbose

logical, determines whether to print additional information to the console.

Value

A list of length(x). Sub-entries per list entry correspond to the target SDS layers specified in prm.

See Also

GDALinfo.


environmentalinformatics-marburg/reset documentation built on May 16, 2019, 7:54 a.m.