Skip to content

Commit

Permalink
Merge pull request #272 from asfadmin/topic-OPERA-CALVAL
Browse files Browse the repository at this point in the history
Change OPERA_S1_CALIBRATION to OPERA_S1_CALVAL
  • Loading branch information
SpicyGarlicAlbacoreRoll authored Feb 1, 2024
2 parents 42d253b + 6da2ec7 commit 24bc97b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
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).
-
-->
------
## [v7.0.4](https://github.com/asfadmin/Discovery-asf_search/compare/v7.0.3...v7.0.4)
### Changed
- `OPERA-S1-CALIBRATION` dataset is now the `OPERA-S1-CALVAL` dataset, uses the `OPERA_S1_CALVAL` constant

------
## [v7.0.3](https://github.com/asfadmin/Discovery-asf_search/compare/v7.0.2...v7.0.3)
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion asf_search/CMR/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"OPERA_L2_RTC-S1-STATIC_V1": ["C1259981910-ASF", "C2795135174-ASF"],
"OPERA_L2_RTC-S1_PROVISIONAL_V0": ["C1257995186-ASF"],
},
"OPERA-S1-CALIBRATION": {
"OPERA-S1-CALVAL": {
"OPERA_L2_CSLC-S1_CALVAL_V1": ["C1260721945-ASF", "C2803501758-ASF"],
"OPERA_L2_RTC-S1_CALVAL_V1": ["C1260721853-ASF", "C2803501097-ASF"],
},
Expand Down
2 changes: 1 addition & 1 deletion asf_search/constants/DATASET.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SENTINEL1 = 'SENTINEL-1'
OPERA_S1 = 'OPERA-S1'
OPERA_S1_CALIBRATION = 'OPERA-S1-CALIBRATION'
OPERA_S1_CALVAL = 'OPERA-S1-CALVAL'
SLC_BURST = 'SLC-BURST'
ALOS_PALSAR = 'ALOS PALSAR'
ALOS_AVNIR_2 = 'ALOS AVNIR-2'
Expand Down
2 changes: 1 addition & 1 deletion asf_search/search/search_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def _get_product_type_key(item: Dict) -> str:
dataset_to_product_types = {
'SENTINEL-1': ASFProductType.S1Product,
'OPERA-S1': ASFProductType.OPERAS1Product,
'OPERA-S1-CALIBRATION': ASFProductType.OPERAS1Product,
'OPERA-S1-CALVAL': ASFProductType.OPERAS1Product,
'SLC-BURST': ASFProductType.S1BurstProduct,

'ALOS': ASFProductType.ALOSProduct,
Expand Down

0 comments on commit 24bc97b

Please sign in to comment.