ASFSearchResults#
Description#
This class describes a set of search results from the ASF archive. The class provides a convenient way to manage and examine search results, as well as export and download functionality.
Attributes#
searchOptions
(ASFSearchOptions): The search options used to generate this set of results. May beNone
in some cases.
Methods#
download()#
Iterates over each ASFProduct
and downloads them to the specified path.
args:
- path: The directory into which the products should be downloaded.
- session: The session to use, in most cases should be authenticated beforehand.
- processes: Number of download processes to use. Defaults to 1 (i.e. sequential download)
returns: None
geojson()#
ASFSearchResults.__str__()
utilizes this method for serialization via json.dumps()
args: None
returns:
dict
describing the search results as a geojson object.