Closed chuckwondo closed 6 months ago
The count before migration ingest from Earthdata Search is 6753.
All granules have been ingested and accounted for. The total count is correct however the cumulus granules list
is showing status that is not correct.
DEBUG=1 cumulus granules list -? collectionId=WV04_MSI_L1B___1 --limit=0 -? status=completed
6012
DEBUG=1 cumulus granules list -? collectionId=WV04_MSI_L1B___1 --limit=0 -? status=failed
0
DEBUG=1 cumulus granules list -? collectionId=WV04_MSI_L1B___1 --limit=0 -? status=queued
320
DEBUG=1 cumulus granules list -? collectionId=WV04_MSI_L1B___1 --limit=0 -? status=running
421
Migrate granules in collection WV04_MSI_L1B to CBA Prod by discovering/ingesting from existing prod account.
main
:git checkout main && git pull
git checkout -b issue311/migrate-wv04-msi
app/stacks/cumulus/resources/rules/WV04_MSI_L1B/v1/WV04_MSI_L1B___1.json
:"WV04_MSI_L1B___1"
"cumulus"
"'WV04_MSI_L1B___1/'yyyy/DDD"
"2017-01-01T00:00:00Z"
"2019-01-01T00:00:00Z"
DOTENV=.env.cba.prod make bash
)cumulus collections add --data app/stacks/cumulus/resources/collections/WV04_MSI_L1B___1.json
cumulus rules add --data app/stacks/cumulus/resources/rules/WV04_MSI_L1B/v1/WV04_MSI_L1B___1.json
cumulus rules enable --name WV04_MSI_L1B___1
cumulus rules run --name WV04_MSI_L1B___1
Acceptance criteria
data.csdap.earthdata.nasa.gov
[note:csdap
, notcsda
])csdap
, notcsda
) -- Cognito auth should be triggeredWV04_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.