Description Usage Arguments Details Value Author(s) References See Also Examples
R wrapper for USGS/EROS Inventory Service Scene Metadata API.
1 2 | espa_inventory_metadata(datasetName, entityIds, apiKey, node = "EE",
verbose = F)
|
datasetName |
Character. Identifies the dataset Use the datasetName from datasets response. See https://mapbox.github.io/usgs/reference/catalog/hdds.html for a list of valid datasetNames. |
entityIds |
Character. Identifies multiple scenes to remove. |
apiKey |
Character. Users API Key/Authentication Token, obtained from espa_inventory_login request. |
node |
Character. Determines the dataset catalog to use. Default="EE", probably never needs to be changed. |
verbose |
Logical. Verbose execution? Default=F. |
The use of the metadata request is intended for those who have acquired scene IDs from a different source. It will return the same metadata that is available via the search request.
List of metadata.
Jonathan A. Greenberg (espa-tools@estarcion.net) (wrapper) and USGS ESPA Developers (API and documentation)
https://earthexplorer.usgs.gov/inventory/documentation/json-api#metadata
espa_inventory_login,espa_inventory_get_api
1 2 3 4 5 6 | ## Not run:
# Get API KEY (required EROS username/password):
apiKey=espa_inventory_login("myusername","mypassword")
espa_inventory_metadata(datasetName="LANDSAT_8",entityIds=c("LC80130292014100LGN00"),apiKey=apiKey)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.