Skip to content

Commit

Permalink
Merge pull request #2016 from ASFHyP3/develop
Browse files Browse the repository at this point in the history
Release v5.0.3
  • Loading branch information
jtherrmann authored Jan 12, 2024
2 parents c3ac9c6 + 2904704 commit d9da2eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [5.0.3]
### Fixed
- Fix how the `INSAR_ISCE_BURST` antimeridian error message is formatted.

## [5.0.2]
### Added
- A validation check for `INSAR_ISCE_BURST` that will fail if a granule crosses the antimeridian.
Expand Down
4 changes: 2 additions & 2 deletions apps/api/src/hyp3_api/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def check_not_antimeridian(granule_metadata):
bbox = granule['polygon'].bounds
if abs(bbox[0] - bbox[2]) > 180.0 and bbox[0] * bbox[2] < 0.0:
msg = (
f'Granule {granule["name"]} crosses the antimeridian.',
' Processing across the antimeridian is not currently supported',
f'Granule {granule["name"]} crosses the antimeridian.'
' Processing across the antimeridian is not currently supported.'
)
raise GranuleValidationError(msg)

Expand Down

0 comments on commit d9da2eb

Please sign in to comment.