[Git][debian-gis-team/asf-search][upstream] New upstream version 7.0.9
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Mon Apr 15 06:34:12 BST 2024
Antonio Valentino pushed to branch upstream at Debian GIS Project / asf-search
Commits:
64874cb5 by Antonio Valentino at 2024-04-15T05:28:58+00:00
New upstream version 7.0.9
- - - - -
4 changed files:
- CHANGELOG.md
- asf_search/CMR/datasets.py
- asf_search/Products/ARIAS1GUNWProduct.py
- tests/yml_tests/test_search.yml
Changes:
=====================================
CHANGELOG.md
=====================================
@@ -25,6 +25,12 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-->
+------
+## [v7.0.9](https://github.com/asfadmin/Discovery-asf_search/compare/v7.0.8...v7.0.9)
+### Added
+- collection "ARIA_S1_GUNW" added to `ARIA_S1_GUNW` dataset, V3 products now loaded as `ARIAS1GUNWProduct` subclass
+- `ARIAS1GUNWProduct` now exposes `ariaVersion` and (for V3 products) `inputGranules` in `ARIAS1GUNWProduct.properties`
+
------
## [v7.0.8](https://github.com/asfadmin/Discovery-asf_search/compare/v7.0.7...v7.0.8)
### Added
=====================================
asf_search/CMR/datasets.py
=====================================
@@ -433,6 +433,7 @@ dataset_collections = {
"C1595765183-ASF",
"C1225776659-ASF",
],
+ "ARIA_S1_GUNW": ["C2859376221-ASF", "C1261881077-ASF"]
},
"SMAP": {
"SPL1A_RO_METADATA_003": ["C1243122884-ASF", "C1233103964-ASF"],
@@ -539,6 +540,8 @@ collections_per_platform = {
"C1214470533-ASF",
"C1214470576-ASF",
"C1595422627-ASF",
+ "C2859376221-ASF",
+ "C1261881077-ASF",
"C1214470496-ASF",
"C1214470532-ASF",
"C1214472977-ASF",
=====================================
asf_search/Products/ARIAS1GUNWProduct.py
=====================================
@@ -13,7 +13,9 @@ class ARIAS1GUNWProduct(S1Product):
"""
_base_properties = {
'perpendicularBaseline': {'path': ['AdditionalAttributes', ('Name', 'PERPENDICULAR_BASELINE'), 'Values', 0], 'cast': try_parse_float},
- 'orbit': {'path': ['OrbitCalculatedSpatialDomains']}
+ 'orbit': {'path': ['OrbitCalculatedSpatialDomains']},
+ 'inputGranules': {'path': ['InputGranules']},
+ 'ariaVersion': {'path': ['AdditionalAttributes', ('Name', 'VERSION'), 'Values', 0]}
}
def __init__(self, args: Dict = {}, session: ASFSession = ASFSession()):
@@ -21,10 +23,12 @@ class ARIAS1GUNWProduct(S1Product):
self.properties['orbit'] = [orbit['OrbitNumber'] for orbit in self.properties['orbit']]
urls = self.umm_get(self.umm, 'RelatedUrls', ('Type', [('USE SERVICE API', 'URL')]), 0)
+
+ self.properties['additionalUrls'] = []
if urls is not None:
self.properties['url'] = urls[0]
self.properties['fileName'] = self.properties['fileID'] + '.' + urls[0].split('.')[-1]
- self.properties['additionalUrls'] = [urls[1]]
+ self.properties['additionalUrls'] = urls[1:]
@staticmethod
def get_property_paths() -> Dict:
=====================================
tests/yml_tests/test_search.yml
=====================================
@@ -1,6 +1,8 @@
sentinel-1_collections: &sentinel-1_collections
- "C2803501758-ASF"
- "C2803501097-ASF"
+ - "C1261881077-ASF"
+ - "C2859376221-ASF"
- "C1214470488-ASF" # S1A
- "C1214470533-ASF"
- "C1214470576-ASF"
@@ -355,6 +357,8 @@ tests:
collections: [
"C1214353986-ASF",
"C1214336045-ASF",
+ "C1261881077-ASF",
+ "C2859376221-ASF",
"C1214336717-ASF",
"C1214335430-ASF",
"C1214335471-ASF",
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/64874cb56425770a85b2b142327c6ffb899302ea
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/64874cb56425770a85b2b142327c6ffb899302ea
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20240415/133c3805/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list