Closed lisakaser closed 1 week ago
@afitzgerrell I created two template files: one for the "body" of the CNM message which applies to all CNM content for a given collection, and one that can be repeated for the multiple files associated with a collection (including the UMM-G file).
The body content:
{
"version": "1.5.1",
"submissionTime": "$submission_time",
"identifier": "$uuid",
"collection": "$auth_id",
"provider": "$provider",
"product": {
"name": "$producer_granule_id",
"dataVersion": "$version",
"files": []
}
}
The files content (repeated for each file):
{
"name": "$file_name",
"type": "$file_type",
"uri": "$staging_uri",
"checksumType": "$checksum_type",
"checksum": "$checksum",
"size": $file_size
}
@afitzgerrell a few notes to guide your review:
$
in the template files will be replaced with the actual values for a given dataset.<path-to-your-copy-of-granule-metgen>/src/nsidc/metgen/templates
To update your copy of the code base:
cd path-to-your-copy-of-granule-metgen
git status
"Untracked" files don't matter.main
branch and update your local copy: git checkout main; git pull
git checkout issue-39
That should do it, but let me know if you're not seeing the expected updates.
Everything worked and checks out well!
1 story point
Acceptance criteria:
Visual inspection of CNM message and JSON format by Amy