Closed krisstanton closed 5 months ago
GE01_MSI_L1B has 712,613 Granules
Bumping up the message limit and execution limit to 1400 in app/stacks/cumulus/main.tf (Still well within the 2000 that the CMR team wants to limit us to)
GE01_MSI_L1B migration ingest is now running!
completed on Feb 7, 2024, 00:41:07.925 (UTC-06:00)
Athena Query Results: MissingCmrFile -- 138 TypeError -- 2
Count After running: DEBUG=1 cumulus granules list -? collectionId=GE01_MSI_L1B___1 --limit=0 -? status=completed
DEBUG=1 cumulus granules list -? collectionId=GE01_MSI_L1B___1 --limit=0 count:724763
DEBUG=1 cumulus granules list -? collectionId=GE01_MSI_L1B___1 --limit=0 -? status=queued count:0
DEBUG=1 cumulus granules list -? collectionId=GE01_MSI_L1B___1 --limit=0 -? status=running count:0
DEBUG=1 cumulus granules list -? collectionId=GE01_MSI_L1B___1 --limit=0 -? status=completed count:724623
DEBUG=1 cumulus granules list -? collectionId=GE01_MSI_L1B___1 --limit=0 -? status=failed count:140
Earthdata search shows: 724,625 matching granules
Nicely done! I'm wondering if the count difference of 2 between Earthdata Search count and the "completed" status count is from the 2 TypeErrors. If so, then running cumulus dead-letter-archive recover-cumulus-messages
might resolve that discrepancy.
Issuing cumulus dead-letter-archive recover-cumulus-messages
gave the same result
Migrate granules in collection GE01_MSI_L1B to CBA Prod by discovering/ingesting from existing prod account.
main
:git checkout main && git pull
git checkout -b issue325/migrate-ge01-msi
app/stacks/cumulus/resources/rules/GE01_MSI_L1B/v1/GE01_MSI_L1B___1.json
:"GE01_MSI_L1B___1"
"cumulus"
"'GE01_MSI_L1B___1/'yyyy/DDD"
"2009-01-01T00:00:00Z"
"2023-01-01T00:00:00Z"
DOTENV=.env.cba.prod make bash
)cumulus collections add --data app/stacks/cumulus/resources/collections/GE01_MSI_L1B___1.json
cumulus rules add --data app/stacks/cumulus/resources/rules/GE01_MSI_L1B/v1/GE01_MSI_L1B___1.json
cumulus rules enable --name GE01_MSI_L1B___1
cumulus rules run --name GE01_MSI_L1B___1
Acceptance criteria
data.csdap.earthdata.nasa.gov
[note:csdap
, notcsda
])csdap
, notcsda
) -- Cognito auth should be triggeredGE01_MSI_L1B
have been ingest into CBA Prod, with the exception of perhaps a small percentage of errors.To determine how many granules have been processed, first enter the Docker container:
In the container, run the following:
(note: due to a Cumulus bug, sometimes the status does not get properly updated. Try running these to match the numbers)
You should see output similar to the following:
In particular, look at the value for
body
and within it, locate the value of"count"
. In the output above, the count should match the Earthdata Search granule count obtained in the very first step.