How to Set Granule Thumbnails in Earthdata Search
Posted: 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:
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.
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:
- ECHO10 Granule Metadata
<OnlineResources> <OnlineResource> <URL>example <URL> <Type>BROWSE</Type> <MimeType>image/jpeg</MimeType> </OnlineResource> </OnlineResources> - 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.