Description Usage Arguments Details Value Author(s) References See Also Examples
R wrapper for ESPA Ordering System Submit Order or Retrieve Details of an Order API.
1 2 | espa_ordering_order(ordernum = NULL, orderrequest = NULL,
usgs_eros_username, usgs_eros_password, verbose = F)
|
ordernum |
Character. An order number. See https://espa.cr.usgs.gov/ordering/order-status/ for the IDs. |
orderrequest |
List. A properly formatted order request. See the examples for details. |
usgs_eros_username |
Character. Your USGS registration username. You can register for an account at https://espa.cr.usgs.gov |
usgs_eros_password |
Character. Your USGS registration password. WARNING: USING THIS WITH R IS NOT PARTICULARLY SECURE. |
verbose |
Logical. Verbose execution? Default=F. |
Submit or retrieves details of an order with ESPA.
If ordernum is supplied, a list of details of items in an order. If orderrequest is supplied, an ordernum.
Jonathan A. Greenberg (espa-tools@estarcion.net) (wrapper) and USGS ESPA Developers (API and documentation)
https://github.com/USGS-EROS/espa-api#apiSubmitOrder
1 2 3 4 5 6 7 8 9 | ## Not run:
orderrequest=list(
olitirs8=list(
inputs="LC80270292015233LGN00",products="sr"),
format=unbox("gtiff"))
myorder <- espa_ordering_order(orderrequest=orderrequest,
usgs_eros_username="myusername",usgs_eros_password="mypassword")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.