landsatTrim(x, ll, ur, box, debug = getOption("oceDebug"))
landsat
object, e.g. as read by read.landsat
.longitude
and latitude
, for the
lower-left corner of the portion of the image to retain.longitude
and latitude
, for the
upper-right corner of the portion of the image to retain.x
and y
(each of length 2),
corresponding to the values for ll
and ur
, such as would
be produced by a call to locator(2)
.return An object of class
"landsat"
, with data having
been
ll
and
ur
corners within the lon-lat corners specified in the image data. (A
previous version trimmed in UTM space, and in fact this may be done in future
also, if a problem in lonlat/utm conversion is resolved.) An error results if
there is no intersection between the trimming box and the image box.landsat-class
explains the
structure of landsat objects, and also outlines the other functions dealing
with them.Other functions dealing with satellite data: [[,landsat-method
,
amsr-class
, g1sst-class
,
landsatAdd
, plot,amsr-method
,
plot,landsat-method
,
plot,satellite-method
,
read.amsr
, read.g1sst
,
read.landsat
,
satellite-class
,
summary,amsr-method
,
summary,landsat-method
,
summary,satellite-method