Closed chuckwondo closed 9 months ago
Manually updating the cmr.json files is unnecessary. As long as the thumbnails are in place (they are), and the collection definition includes an entry for them (it does), Cumulus will add the RelatedUrls when it transform the cmr.json during ingest.
The granules in WV04_MSI_L1B were missing their thumb.jpg files (see #312), so when they were ingested, the cmr.json files were updated to not include relevant entries for them. This means that even though the thumb.jpg files have been created in the
csdap-cumulus-prod-protected
bucket, when we migrate the granules to CBA Prod, the thumb.jpg files won't show up as thumbnails in Earthdata Search, because the metadata entries are missing.We must update the cmr.json files to include entries for the thumb.jpg files so that migration to CBA Prod will have the desired results. Specifically, for each cmr.json file, we must duplicate the 2 BROWSE.jpg entries in RelatedUrls and within the 2 duplicate entries, replace
BROWSE
withthumb
, so we end up with 2 BROWSE.jpg entires and 2 thumb.jpg entries.Here is an example of the 2 BROWSE entries within a cmr.json file's RelatedUrls list:
For those 2 entries, we want to copy them, and make the following changes to both copies:
BROWSE
withthumb
BROWSE
withthumb
"GET RELATED VISUALIZATION"
Given the 2 entries above, we'll create 2 new entries that look like the following: