-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/0.2.0 #49
Merged
Merged
Release/0.2.0 #49
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* update state_machine, sendToHarmony * --changelog Issue-15 * moved to unreleased, changelog
…ic to HLS (#24) * update for HLS -- lambda and state machine * py lint error * update file name
# Conflicts: # pyproject.toml
* fix type in readme * change task token to uuid in send to gitc * remove wait for task token & gitc response handler from state machine * change gitc response handler to invoke save cma message * fix typo * fix context parameter * convert uuid to string * fix json typo * remove uuid lib to use stdlib uuid * change identifier to image set name instead of uuid * remove uuid import * fix json formatting of cma invoke * add granule concept ID to identifier * update image set name with granule conceptid * remove whitespace * move get umm json to utils and save gitc outgoing cnm * remove unused import * try setting cmr query env based on stage * remove task token from tests * fix granule index * change how image set name defined * add region to ssm client in utils * add ssm parameters to gitc lambdas * change region reference * update how granule name referenced in send to gitc * remove unused cmr var * fix case * fix cnm parsing * reformat save cnm to separate step * update tf vars for save cnm * fix type in module definition * fix cnm in cma * fix collection reference in save cnm * add debugging log statements * fix input * update save cnm input * debugging * debugging * linting * debugging * debugging * linting * fix state machine * update state machine * reorg state machine * missing comma * move save cnm into map * fix state machine transitions * fix sm * fix boolean * debugging cnm input * fix input * change input * debug input * add cnm as config parameter * lint * fix cnm payload * remove debugging statements * add prefix to cnm path and fix gitc response * increase handle gitc response timeout * update changelog * add original shortname as cnm prefix * revert shortname and change collection ref to save cnm & cnm-r in same location * remove save cma lambda no longer used * remove EDL env params from sendtogitc * change parsing of granule concept id
* Support datetimes without microseconds * changelog
add docstring
# Conflicts: # CHANGELOG.md # pyproject.toml # terraform/lambda_functions.tf
* add s3 destination to harmony job * syntax * job success * harmony block update * --variable * temp test in uat * manual to uat * test s1-v1 * lint * deploy --sit * Update to place harmony results in our bucket * Update to place harmony results in our bucket * Update to place harmony results in our bucket * Update to place harmony results in our bucket * Update to place harmony results in our bucket * Update to place harmony results in our bucket --------- Co-authored-by: Josh <[email protected]>
torimcd
approved these changes
Jan 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, pending successful UAT tests
…ng, fix type error
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release Notes
operaTreatment
changed tooperaHLSTreatment
convertToPNG
changed tosendToHarmony
.pobit_audit_bucket
->bignbit_audit_bucket
pobit_audit_path
->bignbit_audit_path
config_dir
andbignbit_audit_path
have changed as shown in the table below. This change can be ignored by explicitly setting the module input variables to the old default values.bignbit_staging_bucket
for the module. If not set (recommended), a new s3 bucket will be created for storing harmony results via https://harmony.earthdata.nasa.gov/docs#user-owned-buckets-for-harmony-output. Alternatively, to use an s3 bucket that already exists, set the variablebignbit_staging_bucket
to the name of the bucket to be used. Be sure the bucket policy permissions are set correctly to allow Harmony write and GIBS read permission to this bucket.lambda_role
variable has been removed and instead replaced bypermissions_boundary_arn
, this will need to be updated in the cumulus deployment terraform for the bignbit module.prevent_destroy
flag forgibs_response_topic
has been turned on to help avoid accidental deletion of the topic used for responses from GIBSTest Results
Summary
Two collections were tested in the PO.DAAC Services UAT account:
OPERA_L3_DSWX-HLS_V1
collection tests theoperaHLSTreatment
branch of the workflow while theOPERA_L3_DSWX-S1_V1
collection tests thesendToHarmony
branch of the workflow.SUCCESS
status was received from GIBS for each image generatedOPERA_L3_DSWX-HLS_V1
Input data
Granule used for test:
OPERA_L3_DSWx-HLS_T43RDH_20241122T054141Z_20241206T215709Z_S2A_30_v1.0
https://cmr.uat.earthdata.nasa.gov/search/concepts/G1272632743-POCLOUD.umm_json
CMA message used to trigger the workflow execution:
https://github.com/podaac/bignbit/blob/17ca38cd96e5a8dad994614e2e654aed15475bcb/tests/sample_messages/cma.uat.workflow-input.OPERA_L3_DSWx-HLS_T55MDS_20250124T001834Z_20250128T131415Z_L8_30_v1.0.json
Results
Execution completed successfully:
Note: because of the split to MGRS grid, this granule was split into 4 images before being sent to GIBS. For this collection, one granule can result in 10's of images; this particular granule required 4. Each image is sent to GIBS in a distinct CNM message which is why there was 4 iterations of the
TransferImageSets
group.CNM and CNM-R with GIBS:
OPERA_L3_DSWX-HLS_V1_none.zip
Result in GIBS UAT Worldview:
https://worldview.gitc.uat.earthdatacloud.nasa.gov/?v=65.38591321601064,20.05699438786398,83.26940179774141,27.83531470036398&l=HLS_MGRS_Granule_Grid,OPERA_L3_Dynamic_Surface_Water_Extent-HLS_v1_STD(disabled=5),Coastlines,BlueMarble_NextGeneration(hidden)&lg=true&t=2024-11-22-T12%3A39%3A37Z
OPERA_L3_DSWX-S1_V1
Input data
Granule used for test:
OPERA_L3_DSWx-S1_T45QYD_20241001T121219Z_20241206T065726Z_S1A_30_v1.0
https://cmr.uat.earthdata.nasa.gov/search/concepts/G1272632541-POCLOUD.umm_json
CMA message used to trigger the workflow execution:
https://github.com/podaac/bignbit/blob/17ca38cd96e5a8dad994614e2e654aed15475bcb/tests/sample_messages/cma.uat.workflow-input.OPERA_L3_DSWx-S1_T45QYD_20241001T121219Z_20241206T065726Z_S1A_30_v1.0.json
Results
Execution completed successfully:

Harmony Job completed successfully:
https://harmony.uat.earthdata.nasa.gov/jobs/d5ac5a80-0ebd-4741-b038-c132c37d517a
CNM and CNM-R with GIBS:
OPERA_L3_DSWX-S1_V1_none.zip
Result in GIBS UAT Worldview:
https://worldview.gitc.uat.earthdatacloud.nasa.gov/?v=82.20013623040202,16.854485801309316,97.10638623040202,24.986310211090093&l=HLS_MGRS_Granule_Grid,OPERA_L3_Dynamic_Surface_Water_Extent-Sentinel-1_v1_STD(disabled=5),Coastlines,BlueMarble_NextGeneration(hidden)&lg=true&t=2024-10-01-T12%3A39%3A37Z
Changelog
[0.2.0]
Added
response_topic_arn
will be added to every message sent to GIBSChanged
destinationUrl
parameter to place output directly in s3 bucket instead of requiring data to be copied.config_dir
andbignbit_audit_path
have changed tobig-config
andbignbit-cnm-output
respectivelyDeprecated
Removed
lambda_role
module variable. The lambda role is now created as part of the module,permissions_boundary_arn
is required instead.Fixed
Security