Description Usage Arguments Details Examples
View source: R/lsEspaGetOrderImages.R
lsEspaGetOrderImages
obtains the identification number and the status
of the request from the EROS Centre Science Processing Architecture (ESPA).
1 2 3 4 5 6 7 |
username |
USGS's ‘EarthExplorer’ username. |
password |
USGS's ‘EarthExplorer’ password. |
c.handle |
a curl handler created with the package ' |
order.list |
a list of orders from |
verbose |
logical argument. If |
This function is part of a group of functions used to pre-process Landsat
level-1 images. The pre-processing is carried out by ESPA on demand.
lsEspaGetOrderImages
takes the identification (ID) number of a
request carried out by lsEspaOrderImages
. This ID is used to
follow up the processing status with lsEspaUpdateOrders
. All the
status messages and their interpretation can be found in the ESPA's API
User Guide.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
wdir <- file.path(tempdir(),"Path_for_downloading_folder")
# search Landsat 7 level-2
sres <- ls7Search(startDate = as.Date("01-01-2017", "%d-%m-%Y"),
endDate = as.Date("07-01-2017", "%d-%m-%Y"),
lonlat = c(-1.64323, 42.81687),
AppRoot = wdir)
# request to ESPA the pre-pocessing of level-2 images to
# get the surface reflectance
order <- lsEspaOrderImages(search.res = sres,
username = "username",
password = "password",
product = 'sr',
verbose = FALSE)
# get an ID for our request
lsEspaGetOrderImages(username = "username",
password = "password")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.