Ingest granules in collection WV02_MSI_L1B to CBA Prod by discovering/ingesting from MCP account.
Note: Some of the WV02_MSI_L1B granules have already been ingested into cumulus; there were a lot of missing granules which did not have entry in the DB; For those missing granules, checksums were calculated and inserted into DB
In the "collections/WV02_MSI_L1B___1_2022.json" file "duplicateHandling": "skip" is set to skip to avoid re-ingesting granules which have been ingested.
Following steps will be repeated for 2022-2009, one year at a time starting with 2022
[x] Checkout and pull main: git checkout main && git pull
[x] Create new branch: git checkout -b iss377_missing_WV02_MSI_L1B
[x] Enter Docker with your environment (ex: DOTENV=.env.cba.prod make bash)
[x] Replace the collection: cumulus collections replace --data app/stacks/cumulus/resources/collections/WV02_MSI_L1B___1.json
[x] Replace the rule: cumulus rules replace --data app/stacks/cumulus/resources/rules/WV02_MSI_L1B/v1/WV02_MSI_L1B___1_2022.json
[ ] Enable the rule: cumulus rules enable --name WV02_MSI_L1B___1_2022
[ ] Run the rule: cumulus rules run --name WV02_MSI_L1B___1_2022
Acceptance criteria
[x] The MapRun of the DiscoverAndQueueGranules execution triggered by running the rule
[x] After some successful executions of IngestAndPublishGranules, thumbnails are visible in the Earthdata Search results (sort results with oldest first, as those will be the first ingested, and confirm that the URL for the thumbnail shows the hostname as data.csdap.earthdata.nasa.gov [note: csdap, not csda])
[x] It is possible to download files in the file list for a granule shown in Earthdata Search (again, hostname should include csdap, not csda) -- Cognito auth should be triggered
[x] After a few minutes (not more than 15 minutes?), granules and granule files can be found in Kibana Prodor this link&_a=(columns:!(),filters:!(),index:ea896616-c259-55a6-9a3b-e7d1cec4927a,interval:auto,query:(language:kuery,query:''),sort:!(!('@timestamp',desc)))) for the correct time of the rule execution
[x] All granules in WV02_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:
DOTENV=.env.cba-prod make bash
In the container, run the following:
DEBUG=1 cumulus granules list -? collectionId=WV02_Pan_L1B___1 --limit=0 -? status=completed
(note: due to a Cumulus bug, sometimes the status does not get properly updated. Try running these to match the numbers)
DEBUG=1 cumulus granules list -? collectionId=WV02_MSI_L1B___1 --limit=0
DEBUG=1 cumulus granules list -? collectionId=WV02_MSI_L1B___1 --limit=0 -? status=queued
DEBUG=1 cumulus granules list -? collectionId=WV02_MSI_L1B___1 --limit=0 -? status=running
DEBUG=1 cumulus granules list -? collectionId=WV02_MSI_L1B___1 --limit=0 -? status=completed
DEBUG=1 cumulus granules list -? collectionId=WV02_MSI_L1B___1 --limit=0 -? status=failed
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.
Ingest granules in collection WV02_MSI_L1B to CBA Prod by discovering/ingesting from MCP account.
Note: Some of the WV02_MSI_L1B granules have already been ingested into cumulus; there were a lot of missing granules which did not have entry in the DB; For those missing granules, checksums were calculated and inserted into DB In the "collections/WV02_MSI_L1B___1_2022.json" file "duplicateHandling": "skip" is set to skip to avoid re-ingesting granules which have been ingested.
Following steps will be repeated for 2022-2009, one year at a time starting with 2022
main
:git checkout main && git pull
git checkout -b iss377_missing_WV02_MSI_L1B
app/stacks/cumulus/resources/rules/WV02_Pan_L1B/v1/WV02_MSI_L1B___1_2022.json
:"WV02_MSI_L1B___1"
"maxar"
"'css/nga/WV02/1B/'yyyy/DDD"
"2022-01-01T00:00:00Z"
"2023-01-01T00:00:00Z"
DOTENV=.env.cba.prod make bash
)cumulus collections replace --data app/stacks/cumulus/resources/collections/WV02_MSI_L1B___1.json
cumulus rules replace --data app/stacks/cumulus/resources/rules/WV02_MSI_L1B/v1/WV02_MSI_L1B___1_2022.json
cumulus rules enable --name WV02_MSI_L1B___1_2022
cumulus rules run --name WV02_MSI_L1B___1_2022
Acceptance criteria
data.csdap.earthdata.nasa.gov
[note:csdap
, notcsda
])csdap
, notcsda
) -- Cognito auth should be triggeredWV02_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.