lsru.Espa¶
-
class
lsru.Espa(conf='/home/docs/.lsru')[source]¶ Interface to the Espa API
Espa is a platform providing on demand pre-processing of Landsat surface data. This class uses the API of the espa platform to query and place orders programatically
-
USER¶ Usgs username
Type: str
-
PASSWORD¶ Usgs password
Type: str
-
host¶ API host url
Type: str
Parameters: conf (str) – Path of the config file containing usgs credentials -
__init__(conf='/home/docs/.lsru')[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([conf])Initialize self. get_available_products(scene_list)Get the list of available products for each elements of a list of scene ids order(scene_list, products[, format, note, …])Place a pre-procesing order to espa Attributes
formatsGet a list of file formats supported by the platform ordersGet a list of current orders projectionsGet a dictionary of projections supported by the platform resampling_methodsGet a list of resamling methods suported by the platform userGet Usgs user details -