Learn R Programming

getSpatialData (version 0.0.4)

getMODIS_preview: Preview a MOSIS image

Description

getMODIS_preview previews a single MODIS record as image on a map or as RGB plot. The function is useful to apply visual checks to records before downloading them.

Usage

getMODIS_preview(record, on_map = TRUE, show_aoi = TRUE,
  verbose = TRUE)

Arguments

record

data.frame, single row data.frame collected from the return of getMODIS_query, representing the selected record and all its attributes.

on_map

logical, if TRUE, the preview is displaed corner-georeferenced on a map. If FALSE, a simple RGB plot is displayed. Default is TRUE.

show_aoi

logical, if TRUE, the session AOI defined with set_aoi is drawn to the map viewer. Ignored, if on_map = FALSE or if no AOI has been defined with set_aoi. Default is TRUE.

verbose

logical, whether to display details on the function's progress or output on the console.

Value

None. A plot/view display is generated.

See Also

getMODIS_names getMODIS_query getMODIS_data