Child pages
  • Collections and Granules Metadata
Skip to end of metadata
Go to start of metadata

We would like to retrieve the instrument, platform and other metadata associated with any given granule. The response for a granule or collection query does not provide the fields we are looking for. We have only been able to find the metadata using a collections query with 'facets_enabled' but it would be nice to have this information available with each entry returned from the query. Is there a way to get this information that I am not aware of?

  • No labels

1 Comment

  1. The CMR supports multiple response formats: https://cmr.earthdata.nasa.gov/search/site/search_api_docs.html#supported-result-formats The response formats with the information you're looking for will be in the metadata results formats which are ECHO10, DIF9, DIF10 and ISO dialects. You can specify the result format via the accept header or via a URL extension (/collections.<format>). Both of the curl requests below will request collection search results in ECHO10 format.

    curl -H "Accept: application/echo10+xml" "https://cmr.earthdata.nasa.gov/search/collections?pretty=true&provider=NSIDC_ECS
    curl "https://cmr.earthdata.nasa.gov/search/collections.echo10?pretty=true&provider=NSIDC_ECS