getLandsat8LL: Download Landsat data using the SkyWatch API and save bands...

Description Usage Arguments Value Author(s)

Description

Download satellite imagery and climate/atmospheric datasets using the SkyWatch API based on a query output object obtained from the querySW function. This function returns the part of the scene cropped and reprojected to the specified region with the coordinate reference CRS="+proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0". The downloaded data are returned as a raster stack Object.

Usage

1
2
3
getLandsat8LL(res, datetime, region, download = T, dir = getwd(), api_key,
  bands = c("Blue", "Green", "Red", "Near-Infrared", "Short-Wave-Infrared-1",
  "Short-Wave-Infrared-2"))

Arguments

res

Query response returned by SkyWatchr function 'querySW'.

datetime

Time of imafe data as specified in res.

region

raster object specifying the extent to crop.

download

If T, data are downloaded. Specify download=F if the data have already been downloaded.

dir

Path of directory for downloaded data.

bands

Vector of bands to download.

Value

Returns a raster stack.

Author(s)

Fiona Evans


fionahevans/agric documentation built on May 30, 2019, 12:46 p.m.