Skip to content
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 v2.0.0 #446

Merged
merged 121 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
dec4dfe
Bump boto3 from 1.34.9 to 1.34.12
dependabot[bot] Jan 4, 2024
61c7cdb
Merge pull request #385 from asfadmin/dependabot/pip/boto3-1.34.12
asjohnston-asf Jan 5, 2024
ae61e99
Bump jinja2 from 3.1.2 to 3.1.3
dependabot[bot] Jan 11, 2024
c9f7c6c
Bump ASFHyP3/actions from 0.9.0 to 0.11.0
dependabot[bot] Jan 17, 2024
920e234
Merge pull request #390 from asfadmin/dependabot/pip/jinja2-3.1.3
asjohnston-asf Feb 1, 2024
52ec89a
Bump boto3 from 1.34.12 to 1.34.32
dependabot[bot] Feb 1, 2024
bc0bb17
Merge pull request #408 from asfadmin/dependabot/pip/boto3-1.34.32
asjohnston-asf Feb 1, 2024
17c1377
Bump jsonschema from 4.20.0 to 4.21.1
dependabot[bot] Feb 1, 2024
0cdb4b3
Bump requests-pkcs12 from 1.22 to 1.24
dependabot[bot] Feb 1, 2024
22924e8
Merge pull request #394 from asfadmin/dependabot/github_actions/ASFHy…
asjohnston-asf Feb 2, 2024
6f77713
Merge pull request #400 from asfadmin/dependabot/pip/jsonschema-4.21.1
asjohnston-asf Feb 2, 2024
25e032e
Merge pull request #405 from asfadmin/dependabot/pip/requests-pkcs12-…
asjohnston-asf Feb 2, 2024
bf82cd5
Bump boto3 from 1.34.32 to 1.34.39
dependabot[bot] Feb 12, 2024
2fef524
Merge pull request #415 from asfadmin/dependabot/pip/boto3-1.34.39
asjohnston-asf Feb 12, 2024
53d6aab
Bump boto3 from 1.34.39 to 1.34.42
dependabot[bot] Feb 15, 2024
c9121a2
Merge pull request #418 from asfadmin/dependabot/pip/boto3-1.34.42
asjohnston-asf Feb 15, 2024
0a311b7
Bump shapely from 2.0.2 to 2.0.3
dependabot[bot] Feb 19, 2024
45949ba
Merge pull request #420 from asfadmin/dependabot/pip/shapely-2.0.3
asjohnston-asf Mar 1, 2024
796820d
Bump boto3 from 1.34.42 to 1.34.54
dependabot[bot] Mar 1, 2024
9882cc1
Merge pull request #431 from asfadmin/dependabot/pip/boto3-1.34.54
asjohnston-asf Mar 1, 2024
6406250
implement failing test for generating minimal umm_json output in echo…
asjohnston-asf Mar 13, 2024
250bd81
remove api_url from tests/data/config.json
asjohnston-asf Mar 13, 2024
3e9b491
strip out the echo10 function to start building
jacquelynsmale Mar 13, 2024
2a64194
update tempalte
jacquelynsmale Mar 14, 2024
06ada3a
format polygon
jacquelynsmale Mar 14, 2024
26a6460
try to get tests working
jacquelynsmale Mar 14, 2024
89f95d2
Bump boto3 from 1.34.54 to 1.34.64
dependabot[bot] Mar 18, 2024
cd38ed0
remove jinja when assembling umm_json
asjohnston-asf Mar 18, 2024
18b98f9
fix tests
asjohnston-asf Mar 18, 2024
3f69fe8
more test fixes
asjohnston-asf Mar 18, 2024
556c4d9
fix date format in granule.umm_json
asjohnston-asf Mar 18, 2024
5b31581
switch lat long
jacquelynsmale Mar 18, 2024
7c656d6
remove stripping last coordinate
jacquelynsmale Mar 18, 2024
a505587
remove unnecessary print
jacquelynsmale Mar 18, 2024
8932b70
sort keys in json.dumps calls for easier testing
asjohnston-asf Mar 18, 2024
e8e00b0
merge
asjohnston-asf Mar 18, 2024
1b13e66
fix order of points in test
asjohnston-asf Mar 18, 2024
89cb4cd
passing tests
asjohnston-asf Mar 18, 2024
9b8f848
uncomment passing test
asjohnston-asf Mar 18, 2024
41eaa49
Merge pull request #442 from asfadmin/dependabot/pip/boto3-1.34.64
asjohnston-asf Mar 18, 2024
6df3359
collection version should be a string
asjohnston-asf Mar 18, 2024
a8021fc
minor code cleanup
asjohnston-asf Mar 18, 2024
007f23c
remove unused config parameters from echo10_construction cloudformation
asjohnston-asf Mar 18, 2024
12045b2
remove obsolete shapely and jinja2 requirements for echo10-construction
asjohnston-asf Mar 18, 2024
8bc9b9c
fix typo in content type
asjohnston-asf Mar 18, 2024
aa4e7fd
update CHANGElog
jacquelynsmale Mar 18, 2024
bbbac44
fix response bug in echo10-to-cmr
asjohnston-asf Mar 18, 2024
6d2192c
merge from origin
asjohnston-asf Mar 18, 2024
907e8ec
fix long vs lat and polygon winding order
asjohnston-asf Mar 18, 2024
e3c7a66
Bump boto3 from 1.34.64 to 1.34.65
dependabot[bot] Mar 19, 2024
b34a1a8
Merge pull request #443 from asfadmin/dependabot/pip/boto3-1.34.65
asjohnston-asf Mar 19, 2024
615df10
rename echo10 to metadata
jacquelynsmale Mar 19, 2024
ed586d2
rename metadata-to-cmr
jacquelynsmale Mar 19, 2024
5fcaade
andrew's fixes
jacquelynsmale Mar 20, 2024
1456bd9
update readme architecture diagram
asjohnston-asf Mar 20, 2024
acd9f5b
add in new deployment
jacquelynsmale Mar 20, 2024
58e18b4
Merge pull request #445 from asfadmin/new-ingest-dep
jacquelynsmale Mar 20, 2024
8fa53e5
Merge branch 'dev' into s1-aria-gunw
asjohnston-asf Mar 20, 2024
d1e99f8
Merge pull request #438 from asfadmin/s1-aria-gunw
asjohnston-asf Mar 20, 2024
703e930
trigger deploy workflow on merges to dev
asjohnston-asf Mar 20, 2024
8749eeb
Merge pull request #447 from asfadmin/deploy-dev
asjohnston-asf Mar 20, 2024
dc20be3
Update README.md
jacquelynsmale Mar 20, 2024
7f49312
Update README.md
jacquelynsmale Mar 20, 2024
61c898d
add in platforms
jacquelynsmale Mar 20, 2024
e98c8bf
update platforms
jacquelynsmale Mar 20, 2024
11c64eb
turn into a list
jacquelynsmale Mar 20, 2024
1919315
add all easy peasy attributes
jacquelynsmale Mar 20, 2024
40805d9
fix additional attributes
jacquelynsmale Mar 21, 2024
3f33c08
update verify metadata schema for v3 products only
asjohnston-asf Mar 21, 2024
f7b26a1
update platforms
jacquelynsmale Mar 21, 2024
664d1ad
Merge pull request #452 from asfadmin/verify-less
asjohnston-asf Mar 21, 2024
a5a3f79
remove numpy
jacquelynsmale Mar 21, 2024
a3f92ff
Merge branch 'dev' into umm_updates
jacquelynsmale Mar 21, 2024
9f6a572
Update tests/data/granule.umm_json
jacquelynsmale Mar 21, 2024
aba4f86
Update tests/data/granule.umm_json
jacquelynsmale Mar 21, 2024
ce9f7a0
Andrw's updates
jacquelynsmale Mar 21, 2024
816e5b0
outdent
jacquelynsmale Mar 21, 2024
e5b1f1f
Update echo10-construction/src/echo10_construction.py
jacquelynsmale Mar 21, 2024
cf917c1
Update echo10-construction/src/echo10_construction.py
jacquelynsmale Mar 21, 2024
c758baa
remove old function
jacquelynsmale Mar 21, 2024
66c2eba
add test for DataGranule attribute
asjohnston-asf Mar 21, 2024
f0d72b5
don't bother with Format field
asjohnston-asf Mar 21, 2024
98b8c07
Merge pull request #450 from asfadmin/umm_updates
jacquelynsmale Mar 21, 2024
fe86526
Merge branch 'dev' into file-size
jacquelynsmale Mar 21, 2024
7257363
merge branch dev into echotometadata
asjohnston-asf Mar 21, 2024
8dc34fe
update to pass
jacquelynsmale Mar 21, 2024
c269658
products to product
jacquelynsmale Mar 22, 2024
648d19e
Merge pull request #453 from asfadmin/file-size
asjohnston-asf Mar 22, 2024
8d1d81b
merge branch dev into echo10tometadata
asjohnston-asf Mar 22, 2024
8154f86
Merge pull request #444 from asfadmin/echotometadata
jacquelynsmale Mar 22, 2024
dd08def
add in path number
jacquelynsmale Mar 22, 2024
5a81f32
Bump boto3 from 1.34.65 to 1.34.68
dependabot[bot] Mar 22, 2024
797b4fe
use .umm.json instead of .umm_json for metadata file extension
asjohnston-asf Mar 22, 2024
210ebf5
add maximum frame_number when verifying sds metadata file
asjohnston-asf Mar 22, 2024
a4131f1
Merge pull request #455 from asfadmin/dependabot/pip/boto3-1.34.68
asjohnston-asf Mar 22, 2024
fd2480f
Merge pull request #454 from asfadmin/add-path
jacquelynsmale Mar 22, 2024
b48576c
merge branch dev into json
asjohnston-asf Mar 22, 2024
bbfcc4b
Merge branch 'dev' into frame-max
jtherrmann Mar 22, 2024
3e3331e
Merge pull request #457 from asfadmin/frame-max
jtherrmann Mar 22, 2024
bd21bf4
Merge branch 'dev' into json
jtherrmann Mar 22, 2024
12317bf
remove granule.umm_json replaced with granule.umm.json
asjohnston-asf Mar 22, 2024
fa91f1f
Merge pull request #456 from asfadmin/json
asjohnston-asf Mar 22, 2024
9258992
add second granule test case to tests/data/
asjohnston-asf Mar 22, 2024
6cfc876
add trailing newlines
asjohnston-asf Mar 22, 2024
d2ef456
Merge pull request #458 from asfadmin/more-tests
asjohnston-asf Mar 22, 2024
9b99f28
add failing test for weather model attribute
asjohnston-asf Mar 22, 2024
c7f4f1b
update metadata-construction to handle s3 keys that include folder pr…
asjohnston-asf Mar 22, 2024
249d505
add in weather model
jacquelynsmale Mar 22, 2024
3d0680b
switch HRES HRRR order
jacquelynsmale Mar 22, 2024
f9a11cb
append weathermodel to umm
jacquelynsmale Mar 22, 2024
964c956
remove old function
jacquelynsmale Mar 22, 2024
59a4af9
clean up weathermodel
jacquelynsmale Mar 22, 2024
19a7465
Merge pull request #459 from asfadmin/weather-model
jacquelynsmale Mar 22, 2024
fdf696d
Merge pull request #460 from asfadmin/prefixes
asjohnston-asf Mar 22, 2024
8a21694
final cleanup before merging to test
asjohnston-asf Mar 25, 2024
88d5d8d
merge branch test into final-tweaks
asjohnston-asf Mar 25, 2024
36f8eef
remove extra newline
asjohnston-asf Mar 25, 2024
9ec5cf1
Merge pull request #462 from asfadmin/final-tweaks
asjohnston-asf Mar 25, 2024
881a4ff
Merge pull request #448 from asfadmin/dev
asjohnston-asf Mar 25, 2024
db24c39
Bump boto3 from 1.34.68 to 1.34.70
dependabot[bot] Mar 25, 2024
eebdc33
Merge pull request #463 from asfadmin/dependabot/pip/boto3-1.34.70
jtherrmann Mar 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ on:
jobs:
call-changelog-check-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.9.0
uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.11.0
secrets:
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
public_bucket: grfn-public-prod
distribution_base_url: https://grfn.asf.alaska.edu/door/download
browse_base_url: https://grfn-public-prod.asf.alaska.edu
reformat_api_url: https://services.asf.alaska.edu/geospatial/reformat
cmr_base_url: https://cmr.earthdata.nasa.gov
cmr_provider: ASF
deploy_ref: refs/heads/prod
Expand All @@ -27,7 +26,6 @@ jobs:
public_bucket: grfn-public-test
distribution_base_url: https://grfn-test.asf.alaska.edu/door/download
browse_base_url: https://grfn-public-test.asf.alaska.edu
reformat_api_url: https://services-test.asf.alaska.edu/geospatial/reformat
cmr_base_url: https://cmr.uat.earthdata.nasa.gov
cmr_provider: ASF
deploy_ref: refs/heads/test
Expand Down Expand Up @@ -57,8 +55,8 @@ jobs:
python -m pip install -r requirements-verify.txt -t verify/src/
python -m pip install -r requirements-ingest.txt -t ingest/src/
python -m pip install -r requirements-notify.txt -t notify/src/
python -m pip install -r requirements-echo10-to-cmr.txt -t echo10-to-cmr/src/
python -m pip install -r requirements-echo10-construction.txt -t echo10-construction/src/
python -m pip install -r requirements-metadata-to-cmr.txt -t metadata-to-cmr/src/
python -m pip install -r requirements-metadata-construction.txt -t metadata-construction/src/
# crytography on AWS Lambda requires manylinux2014 per https://github.com/ASFHyP3/hyp3/issues/1190
python -m pip install -r requirements-cmr-token.txt --platform manylinux2014_x86_64 --only-binary=:all: -t cmr-token/src/
- name: package and deploy
Expand All @@ -80,7 +78,6 @@ jobs:
PublicBucket='${{ matrix.public_bucket }}' \
DistributionBaseUrl='${{ matrix.distribution_base_url }}' \
BrowseBaseUrl='${{ matrix.browse_base_url }}' \
ReformatApiUrl='${{ matrix.reformat_api_url }}' \
DefaultResponseTopicArn='${{ secrets.DEFAULT_RESPONSE_TOPIC_ARN }}' \
DefaultResponseTopicRegion='${{ secrets.DEFAULT_RESPONSE_TOPIC_REGION }}' \
SdsAccountNumber='${{ secrets.SDS_ACCOUNT_NUMBER }}' \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeled-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ on:
jobs:
call-labeled-pr-check-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.9.0
uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.11.0
2 changes: 1 addition & 1 deletion .github/workflows/release-checklist-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
call-release-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@v0.9.0
uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@v0.11.0
permissions:
pull-requests: write
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
call-release-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.9.0
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.11.0
with:
release_prefix: GRFN Ingest
release_branch: prod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- run: |
python -m pip install --upgrade pip
python -m pip install flake8 flake8-import-order flake8-builtins # FIXME add flake8-blind-except
- run: flake8 --max-line-length=120 --import-order-style=pycharm --statistics --application-import-names echo10_construction verify
- run: flake8 --max-line-length=120 --import-order-style=pycharm --statistics --application-import-names metadata_construction verify

cfn-lint:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
call-bump-version-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.9.0
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.11.0
with:
user: tools-bot
email: [email protected]
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/)
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.0]
This release supports publishing v3 GUNW products to production CMR. CMR metadata has been significantly revised to reflect the current state of these products, align with other recently developed ASF CMR collections, and better support ASF search tooling.

### Changed
- Granules are now published to the `ARIA_S1_GUNW` collection in CMR instead of the `SENTINEL-1_INTERFEROGRAMS` collection.
- Granules are now published using the UMM-G json metadata format instead of the ECHO 10 xml format.
- Granule metadata content has been significantly revised.
- `perpendicular_baseline`, `temporal_baseline_days`, and `frame_number` are now required fields in the SDS metadata file instead of being optional.
### Removed
- Ingest of v2 GUNW products is no longer supported.
- Virtual geotiff products are no longer published to CMR.

## [1.2.1]
### Changed
- Upgraded Python and GitHub Action dependencies.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ECHO10_CONSTRUCTION = ${PWD}/echo10-construction/src/
METADATA_CONSTRUCTION = ${PWD}/metadata-construction/src/
VERIFY = ${PWD}/verify/src/
export PYTHONPATH = ${ECHO10_CONSTRUCTION}:${VERIFY}
export PYTHONPATH = ${METADATA_CONSTRUCTION}:${VERIFY}
export CONFIG = "{}"

test_file ?= tests/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ data.
* **step-function:** A step function defining the workflow to ingest a single GRFN data product.
* **verify:** A Lambda function that validates the received message as well as the files and metadata in the source S3 bucket.
* **ingest:** A Lambda function that copies product files from the source S3 bucket to the output S3 buckets.
* **echo10-construction:** A Lambda function that generates an ECHO 10 XML metadata file for a particular product.
* **metadata-construction:** A Lambda function that generates a CMR-compliant metadata file for a particular product.
* **cmr-token** A Lambda function that generates an access token for the CMR ingest API.
* **echo10-to-cmr:** A scheduled Lambda function that submits ECHO 10 XML metadata files to CMR.
* **metadata-to-cmr:** A scheduled Lambda function that submits metadata files to CMR.
* **notify:** A Lambda function that sends ingest success/failure messages to the SNS response topic.

# Top Level Inputs and Outputs
Expand Down
18 changes: 7 additions & 11 deletions cloudformation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ Parameters:
BrowseBaseUrl:
Type: String

ReformatApiUrl:
Type: String

DefaultResponseTopicArn:
Type: String

Expand Down Expand Up @@ -79,7 +76,7 @@ Resources:
VerifyLambdaArn: !GetAtt VerifyStack.Outputs.LambdaArn
NotifyLambdaArn: !GetAtt NotifyStack.Outputs.LambdaArn
IngestLambdaArn: !GetAtt IngestStack.Outputs.LambdaArn
Echo10ConstructionLambdaArn: !GetAtt Echo10ConstructionStack.Outputs.LambdaArn
MetadataConstructionLambdaArn: !GetAtt MetadataConstructionStack.Outputs.LambdaArn
TemplateURL: step-function/cloudformation.yaml

InvokeStack:
Expand All @@ -99,18 +96,17 @@ Resources:
Name: !Sub "${AWS::StackName}-verify"
TemplateURL: verify/cloudformation.yaml

Echo10ConstructionStack:
MetadataConstructionStack:
Type: AWS::CloudFormation::Stack
Properties:
Parameters:
Name: !Sub "${AWS::StackName}-echo10-construction"
Name: !Sub "${AWS::StackName}-metadata-construction"
PrivateBucket: !Ref PrivateBucket
PublicBucket: !Ref PublicBucket
AuxBucket: !Ref AuxBucket
DistributionBaseUrl: !Ref DistributionBaseUrl
BrowseBaseUrl: !Ref BrowseBaseUrl
ReformatApiUrl: !Ref ReformatApiUrl
TemplateURL: echo10-construction/cloudformation.yaml
TemplateURL: metadata-construction/cloudformation.yaml

CmrTokenStack:
Type: AWS::CloudFormation::Stack
Expand All @@ -122,17 +118,17 @@ Resources:
CertificateSecretArn: !Ref LaunchpadCertificateSecretArn
TemplateURL: cmr-token/cloudformation.yaml

Echo10ToCmrStack:
MetadataToCmrStack:
Type: AWS::CloudFormation::Stack
Properties:
Parameters:
Name: !Sub "${AWS::StackName}-echo10-to-cmr"
Name: !Sub "${AWS::StackName}-metadata-to-cmr"
ActivityArn: !GetAtt StepFunctionStack.Outputs.CmrActivityArn
AuxBucket: !Ref AuxBucket
CachedCmrTokenKey: !Ref CachedCmrTokenKey
CmrTokenLambda: !GetAtt CmrTokenStack.Outputs.LambdaName
CmrGranuleUrl: !Sub "${CmrBaseUrl}/ingest/providers/${CmrProvider}/granules/"
TemplateURL: echo10-to-cmr/cloudformation.yaml
TemplateURL: metadata-to-cmr/cloudformation.yaml

NotifyStack:
Type: AWS::CloudFormation::Stack
Expand Down
Binary file modified doc/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
137 changes: 0 additions & 137 deletions echo10-construction/cloudformation.yaml

This file was deleted.

Loading
Loading