Skip to content

Commit

Permalink
Merge branch 'master' into feature-find-urls-ext
Browse files Browse the repository at this point in the history
  • Loading branch information
SpicyGarlicAlbacoreRoll authored Sep 19, 2024
2 parents b5df8b2 + bcebd43 commit 67f7476
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
src: './asf_search'
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-->
------
## [v8.0.1](https://github.com/asfadmin/Discovery-asf_search/compare/v8.0.0...v8.0.1)
### Fixed
- Fixed setting end date timezone when translating search opts to CMR opts

------
## [v8.0.0](https://github.com/asfadmin/Discovery-asf_search/compare/v7.1.0...v7.2.0)
### Added
Expand Down
2 changes: 1 addition & 1 deletion asf_search/CMR/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def fix_date(fixed_params: Dict[str, Any]):
fixed_params['start'] if 'start' in fixed_params else '1978-01-01T00:00:00Z'
)
fixed_params['end'] = (
fixed_params['end'] if 'end' in fixed_params else datetime.now(datetime.UTC).isoformat()
fixed_params['end'] if 'end' in fixed_params else datetime.now(timezone.utc).isoformat()
)
fixed_params['season'] = (
','.join(str(x) for x in fixed_params['season']) if 'season' in fixed_params else ''
Expand Down
19 changes: 2 additions & 17 deletions tests/yml_tests/test_ASFSearchResults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ tests:
- Test ASFSearchResults_intersection linestring-equator:
wkt: LINESTRING(-59 0, 59 0)

# - Test ASFSearchResults_intersection Latitude 64 to 65:
# wkt: POLYGON((-179 64, -159 64, -159 65, -179 65, -179 64))
- Test ASFSearchResults_intersection Latitude 64 to 65:
wkt: POLYGON((-179 64, -159 64, -159 65, -179 65, -179 64))

- Test ASFSearchResults_intersection Australia:
wkt: POLYGON((108.3836 -45.0288,154.4383 -45.0288,154.4383 -9.7116,108.3836 -9.7116,108.3836 -45.0288))
Expand All @@ -28,18 +28,3 @@ tests:

- Test ASFSearchResults_intersection antimeridian:
wkt: POLYGON((-181 -89, -179 -89, -179 89, -181 89, -181 -89))

# - Test ASFSearchResults-format Fairbanks slc:
# results: [Fairbanks_SLC.yml]

# - Test ASFSearchResults-format Fairbanks S1 Stack:
# results: Fairbanks_S1_stack.yml

# - Test ASFSearchResults-format Alos:
# results: Alos_response.yml

# - Test ASFSearchResults-format L1:
# results: Fairbanks_L1.yml

# - Test ASFSearchResults-format ERS Stack:
# results: Fairbanks_ers_stack.yml

0 comments on commit 67f7476

Please sign in to comment.