Description Usage Arguments Value Author(s)
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.
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"))
|
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. |
Returns a raster stack.
Fiona Evans
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.