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. The API returns data with coordinate reference CRS=" +proj=utm +zone=50 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0". This function returns either the entire scene if region is not specified, or part of the scene cropped to the specified region with the same coordinate reference. The downloaded data are returned as a raster stack Object.
1 2 3 | getLandsat8UTM(res, datetime, region = NULL, 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.