lsru.Order

class lsru.Order(orderid, conf='/home/docs/.lsru')[source]

Class to deal with espa orders

orderir

Espa order ID

Type:str
Parameters:
  • orderid (str) – Espa order ID
  • conf (str) – Path to file containing usgs credentials
__init__(orderid, conf='/home/docs/.lsru')[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(orderid[, conf]) Initialize self.
cancel() Cancel the order
download_all_complete(path[, unpack, …]) Download all completed scenes of the order to a folder

Attributes

is_complete Check if order has status complete
items_status
status Get the current status of the order
urls_completed Get list of item’s url whose status is complete