espa_ordering_order: espa_ordering_order

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

R wrapper for ESPA Ordering System Submit Order or Retrieve Details of an Order API.

Usage

1
2
espa_ordering_order(ordernum = NULL, orderrequest = NULL,
  usgs_eros_username, usgs_eros_password, verbose = F)

Arguments

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.

Details

Submit or retrieves details of an order with ESPA.

Value

If ordernum is supplied, a list of details of items in an order. If orderrequest is supplied, an ordernum.

Author(s)

Jonathan A. Greenberg (espa-tools@estarcion.net) (wrapper) and USGS ESPA Developers (API and documentation)

References

https://github.com/USGS-EROS/espa-api#apiSubmitOrder

See Also

earthexplorer_search

Examples

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)

espa.tools documentation built on May 2, 2019, 5:54 p.m.