How to Set Granule Thumbnails in Earthdata Search

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Earthdata - wxedward
User Services
User Services
Posts: 156
Joined: Wed Jan 17, 2024 10:24 am America/New_York
Answers: 22

How to Set Granule Thumbnails in Earthdata Search

by Earthdata - wxedward » Wed Jan 31, 2024 9:30 am America/New_York

Granules (the individual files that make up a collection or dataset) can be associated with preview images. They can be either PDFs of composite data or browse images associated with the actual data. To add thumbnails to your collection's granules, follow the steps below.

Step-by-step guide

Providers create and update granule metadata with a variety of different tools. As such, this article will not detail how to create and update metadata, but focus on what metadata should be provided.

Add an OnlineResourceURL that follows the following format:
  1. ECHO10 Granule Metadata
    <OnlineResources>
    <OnlineResource>
    <URL>example <URL>
    <Type>BROWSE</Type>
    <MimeType>image/jpeg</MimeType>
    </OnlineResource>
    </OnlineResources>
  2. ISO19115 Granule Metadata
    <gmd:graphicOverview>
    <gmd:MD_BrowseGraphic>
    <gmd:fileName>
    <code><gmx:FileName src=EXAMPLE URL/>
    </gmd:fileName>
    <gmd:fileDescription gco:nilReason="missing"/>
    <gmd:fileType>
    <gco:CharacterString>image/jpeg</gco:CharacterString>
    </gmd:fileType>
    </gmd:MD_BrowseGraphic>
    </gmd:graphicOverview>

Ingest granules.

Note, CMR indexes granules on ingest. When granules are ingested, CMR will look for the presence of a BROWSE OnlineResource. If one is found, the "browse_flag" will be toggled from false to true. Earthdata Search looks for "browse_flag: true" and will then pick up the image linked in the Online Resource URL.

Tags:

Post Reply