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.

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



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


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


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.


logical, if TRUE, details on the function's progress will be visibile on the console. Default is TRUE.


None. A plot/view display is generated.

See also