Skip to content

Commit

Permalink
temp hard-code granules sub-prefix, fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Oct 4, 2024
1 parent d880b47 commit 5c04c22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/hyp3_srg/back_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ def main():
args.bounds = [float(item) for sublist in args.bounds for item in sublist]
if len(args.bounds) != 4:
parser.error('Bounds must have exactly 4 values: [min lon, min lat, max lon, max lat] in EPSG:4326.')

# TODO: don't hard-code this
args.bucket_prefix += '/granules'

back_project(**args.__dict__)


Expand Down
2 changes: 1 addition & 1 deletion src/hyp3_srg/time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def main():
parser.add_argument(
'--gslc-bucket-prefix',
default='',
help='GSLCs are found at bucket-prefix/gslc-bucket_prefix within bucket'
help='GSLCs are found at bucket-prefix/gslc-bucket-prefix within bucket'
)
parser.add_argument('granules', type=str.split, nargs='*', default='', help='GSLC granules.')
args = parser.parse_args()
Expand Down

0 comments on commit 5c04c22

Please sign in to comment.