podaac / cumulus-metadata-aggregator

1 stars 1 forks source link

[PODAAC-5089] Insert extra data for .png files for `CMR.JSON` file #34

Closed hkryeung closed 1 year ago

hkryeung commented 1 year ago

Description

When processing a .png file within granule, when generating CMR.JSON, for relatedUrl, add in MimeType and SubType info

Overview of work done

Identify where cmr.json adds in relatedURL info, then set up to when seeing a PNG add in metadata; create unit test also

Overview of verification done

Ran in Sandbox, confirmed CMR.JSON for .png file has extra data

Tested in SIT:

N/A

PR checklist: