Learn R Programming

oce (version 0.9-14)

landsat-class: Class to store landsat data

Description

Class to store landsat data, with standard slots metadata, data and processingLog.

Arguments

Methods

Consider a landsat object named landsat.

Accessing data values. The data may be accessed with e.g. landsat[["band", 8]], for band number 8, or e.g. landsat[["time"]] for the time at which the image was acquired. Accessing metadata. Anything in the metadata can be accessed by name, e.g. landsat[["time"]]. Note that some items are simply copied over from the source data file and are not altered by e.g. decimation. An exception is the lat-lon box, which is altered by landsatTrim.

Overview of contents. The summary method displays information about the object.

References

1. http://glovis.usgs.gov

2. http://landsat.gsfc.nasa.gov/?page_id=5377

See Also

A file containing Landsat data may be read with read.landsat or read.oce, and one such file is provided by the ocedata package as a dataset named landsat.

Plots may be made with plot.landsat. Since plotting can be quite slow, decimation is available both in the plotting function and as the separate function link{decimate}. Images may be subsetted with landsatTrim.

Landsat data are available at several websites; see e.g. [1].

See [2] for information on the bands for Landsat 8, paying particular attention to the resolutions and wavelengths. Band 8 is panchromatic, and has the highest resolution, so this is the default used in plot.landsat.