Description Usage Arguments Details Value Examples
Downlaod Landsat Files from URL
1 2 | landsat_download(download_url, dest_file, entity_id = NULL,
folder_wise = FALSE)
|
download_url |
vector of urls to be downloaded |
dest_file |
the destination folder where the files are to be downloaded |
entity_id |
product id correspoding to the urls if the downloads need to be in folder wise for AWS links |
folder_wise |
if the downloads need to be in folder wise for AWS links |
Caution: use entity_id and folder_wise ONLY in case of downloading the individual bands (like from AWS). Get the downlaod urls from espa functions in this library. View the demo
vector of failed urls
1 2 3 | # save files to the destination path provided
## returns the index of the failed urls
landsat_download("https://edclpdsftp.cr.usgs.gov/orders/order_id1.tar.gz", dest_file = tempdir())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.