Skip to content

Commit

Permalink
Merge pull request #31 from ASFHyP3/develop
Browse files Browse the repository at this point in the history
Release v0.5.2
  • Loading branch information
forrestfwilliams authored Jun 4, 2024
2 parents 199864b + b0e6fd7 commit d555712
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ 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).

## [0.5.2]

### Fixed
* `back_project` granules parameter so that it can accept a string of space-delimited granule names.

## [0.5.1]

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions src/hyp3_back_projection/back_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ def main():
parser.add_argument('--bucket', help='AWS S3 bucket HyP3 for upload the final product(s)')
parser.add_argument('--bucket-prefix', default='', help='Add a bucket prefix to product(s)')
parser.add_argument('--gpu', default=False, action='store_true', help='Use the GPU-based version of the workflow.')
parser.add_argument('granules', nargs='+', help='Level-0 S1 granule to back-project.')
parser.add_argument('granules', type=str.split, nargs='+', help='Level-0 S1 granule(s) to back-project.')
args = parser.parse_args()

args.granules = [item for sublist in args.granules for item in sublist]
back_project(**args.__dict__)


Expand Down

0 comments on commit d555712

Please sign in to comment.