USGS Payloads¶
- usgs.payloads.dataset_download_options(dataset)[source]¶
The dataset download options request is used to discover downloadable products for a specified dataset. Unlike the download_options request, this does not check product availability.
- Parameters:
dataset (str) – Used to identify the which dataset to return results for.
- usgs.payloads.dataset_filters(dataset)[source]¶
This request is used to return the metadata filter fields for the specified dataset. These values can be used as additional criteria when submitting search and hit queries.
- Parameters:
dataset (str) –
- usgs.payloads.dataset_search(dataset, catalog, start_date=None, end_date=None, ll=None, ur=None)[source]¶
This method is used to find datasets available for searching. By passing only an API Key, all available datasets are returned. Additional parameters such as temporal range and spatial bounding box can be used to find datasets that provide more specific data. The dataset name parameter can be used to limit the results based on matching the supplied value against the public dataset name with assumed wildcards at the beginning and end.
- Parameters:
dataset (str) –
catalog (str) –
start_date – Used for searching scene acquisition - will accept anything that the PHP strtotime function can understand
end_date – Used for searching scene acquisition - will accept anything that the PHP strtotime function can understand
ll –
Lower left corner of an AOI bounding box - in decimal form Longitude/Latitude dictionary
e.g. { “longitude”: 0.0, “latitude”: 0.0 }
ur –
Upper right corner of an AOI bounding box - in decimal form Longitude/Latitude dictionary
e.g. { “longitude”: 0.0, “latitude”: 0.0 }
- usgs.payloads.download_options(dataset, entity_ids)[source]¶
The download options request is used to discover downloadable products for each dataset. If a download is marked as not available, an order must be placed to generate that product.
- Parameters:
dataset (str) –
entity_ids (str) –
- usgs.payloads.download_request(dataset, entity_id, product_id)[source]¶
The use of this request will be to obtain valid data download URLs.
- Parameters:
dataset (str) –
entity_id (str) –
product_id (str) –