[Git][debian-gis-team/asf-search][master] 4 commits: New upstream version 12.2.3

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Jul 18 18:43:15 BST 2026



Antonio Valentino pushed to branch master at Debian GIS Project / asf-search


Commits:
d67fbd52 by Antonio Valentino at 2026-07-18T17:34:44+00:00
New upstream version 12.2.3
- - - - -
1168050f by Antonio Valentino at 2026-07-18T17:34:50+00:00
Update upstream source from tag 'upstream/12.2.3'

Update to upstream version '12.2.3'
with Debian dir de82c9c74d8a6728eb1633c199d78e769903b8b8
- - - - -
bf3190c4 by Antonio Valentino at 2026-07-18T17:35:22+00:00
New upstream release

- - - - -
5eaa4fb8 by Antonio Valentino at 2026-07-18T17:37:17+00:00
Set distribution to unstable

- - - - -


3 changed files:

- CHANGELOG.md
- asf_search/Products/OPERAS1Product.py
- debian/changelog


Changes:

=====================================
CHANGELOG.md
=====================================
@@ -25,6 +25,11 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 -
 
 -->
+------
+## [v12.2.3](https://github.com/asfadmin/Discovery-asf_search/compare/v12.2.2...v12.2.3)
+### Added
+- Drop old goemetry logic for `OPERAS1Product` dist-alert products
+
 ------
 ## [v12.2.2](https://github.com/asfadmin/Discovery-asf_search/compare/v12.2.1...v12.2.2)
 ### Added


=====================================
asf_search/Products/OPERAS1Product.py
=====================================
@@ -3,6 +3,7 @@ from asf_search import ASFSearchOptions, ASFSession
 from asf_search.CMR.translate import try_parse_date, try_parse_int
 from asf_search.Products import S1Product
 
+
 class OPERAS1Product(S1Product):
     """
     ASF Dataset Documentation Page: https://asf.alaska.edu/datasets/daac/opera/
@@ -21,7 +22,9 @@ class OPERAS1Product(S1Product):
             'path': ['AdditionalAttributes', ('Name', 'POLARIZATION'), 'Values']
         },  # dual polarization is in list rather than a 'VV+VH' style format
         'tileID': {'path': ['AdditionalAttributes', ('Name', 'MGRS_TILE_ID'), 'Values', 0]},
-        'productVersion': {'path': ['AdditionalAttributes', ('Name', 'PRODUCT_VERSION'), 'Values', 0]},
+        'productVersion': {
+            'path': ['AdditionalAttributes', ('Name', 'PRODUCT_VERSION'), 'Values', 0]
+        },
     }
 
     _subclass_concept_ids = {
@@ -69,14 +72,8 @@ class OPERAS1Product(S1Product):
 
         if self.properties['processingLevel'] is None:
             self.properties['processingLevel'] = self.umm_get(
-                self.umm, 'AdditionalAttributes', ('Name', 'PRODUCT_TYPE'), 'Values', 0)
-
-        if self.properties['processingLevel'] == 'DIST-ALERT-S1':
-            west, north, east, south = self.umm['SpatialExtent'][
-                'HorizontalSpatialDomain']['Geometry']['BoundingRectangles'][0].values()
-
-            self.geometry = {'coordinates': [[[west, north], [east, north], [
-                east, south], [west, south], [west, north]]], 'type': 'Polygon'}
+                self.umm, 'AdditionalAttributes', ('Name', 'PRODUCT_TYPE'), 'Values', 0
+            )
 
         if self.properties['processingLevel'] == 'TROPO-ZENITH':
             self.properties['centerLat'] = None
@@ -118,41 +115,34 @@ class OPERAS1Product(S1Product):
         elif processingLevel == 'DISP-S1':
             self.properties['frameNumber'] = try_parse_int(
                 self.umm_get(
-                    self.umm,
-                    'AdditionalAttributes',
-                    ('Name', 'FRAME_NUMBER'),
-                    'Values', 
-                    0)
+                    self.umm, 'AdditionalAttributes', ('Name', 'FRAME_NUMBER'), 'Values', 0
                 )
+            )
             self.properties['OperaDispStackID'] = self.umm_get(
-                    self.umm,
-                    'AdditionalAttributes',
-                    ('Name', 'STACK_ID'),
-                    'Values', 
-                    0)
+                self.umm, 'AdditionalAttributes', ('Name', 'STACK_ID'), 'Values', 0
+            )
             file_id = self.properties['fileID']
             product_zarr = r'.*{0}.zarr.json.gz'.format(file_id)
 
-            self.properties['zarrUri'] = self.find_urls(extension='.gz', pattern=product_zarr, directAccess=True)[0]
-            self.properties['zarrStackUri'] = self.find_urls(extension='.gz', pattern=r'.*short_wavelength_displacement.zarr.json.gz', directAccess=True)[0]
+            self.properties['zarrUri'] = self.find_urls(
+                extension='.gz', pattern=product_zarr, directAccess=True
+            )[0]
+            self.properties['zarrStackUri'] = self.find_urls(
+                extension='.gz',
+                pattern=r'.*short_wavelength_displacement.zarr.json.gz',
+                directAccess=True,
+            )[0]
         elif processingLevel == 'DISP-S1-STATIC':
             self.properties['frameNumber'] = try_parse_int(
                 self.umm_get(
-                    self.umm,
-                    'AdditionalAttributes',
-                    ('Name', 'FRAME_NUMBER'),
-                    'Values', 
-                    0)
+                    self.umm, 'AdditionalAttributes', ('Name', 'FRAME_NUMBER'), 'Values', 0
                 )
+            )
             self.properties['pathNumber'] = try_parse_int(
-                self.umm_get(
-                    self.umm,
-                    'AdditionalAttributes',
-                    ('Name', 'PATH_NUMBER'),
-                    'Values', 
-                    0)
-                )
+                self.umm_get(self.umm, 'AdditionalAttributes', ('Name', 'PATH_NUMBER'), 'Values', 0)
+            )
             pass
+
     @staticmethod
     def get_default_baseline_product_type() -> None:
         """


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+asf-search (12.2.3-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 18 Jul 2026 17:36:58 +0000
+
 asf-search (12.2.2-1) unstable; urgency=medium
 
   * New upstream release.



View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/1c90ce209010ea14dee9eae24c377d5783bff39c...5eaa4fb8149a7c10756dafd37eed56fcc3635859

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/1c90ce209010ea14dee9eae24c377d5783bff39c...5eaa4fb8149a7c10756dafd37eed56fcc3635859
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260718/b172f046/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list