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

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sun Feb 1 18:20:07 GMT 2026



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


Commits:
525fbf55 by Antonio Valentino at 2026-02-01T18:16:44+00:00
New upstream version 11.0.2
- - - - -
024d8b3e by Antonio Valentino at 2026-02-01T18:16:47+00:00
Update upstream source from tag 'upstream/11.0.2'

Update to upstream version '11.0.2'
with Debian dir 9ac09fefdbdedc43fe5b2b5f87e41293669b41af
- - - - -
fd4693ec by Antonio Valentino at 2026-02-01T18:17:17+00:00
New upstream release

- - - - -
57bd7c2f by Antonio Valentino at 2026-02-01T18:17:43+00:00
Set disctibution to unstable

- - - - -


7 changed files:

- .github/workflows/run-pytest-authenticated.yml
- CHANGELOG.md
- asf_search/Products/ARIAS1GUNWProduct.py
- asf_search/export/jsonlite.py
- debian/changelog
- tests/yml_tests/Resources/ARIAS1-GUNW_response.yml
- tests/yml_tests/test_authenticated/test_ASFSubproduct_Auth.yml


Changes:

=====================================
.github/workflows/run-pytest-authenticated.yml
=====================================
@@ -27,7 +27,7 @@ jobs:
       - name: Run Tests
         env:
             EDL_TOKEN: ${{ secrets.EDL_TOKEN }}
-        run: python3 -m pytest --should_auth_session TRUE
+        run: python3 -m pytest tests/yml_tests/test_authenticated --should_auth_session TRUE
 
     #   - name: Upload coverage to Codecov
     #     uses: codecov/codecov-action at v5


=====================================
CHANGELOG.md
=====================================
@@ -25,6 +25,11 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 -
 
 -->
+------
+## [v11.0.2](https://github.com/asfadmin/Discovery-asf_search/compare/v11.0.1...v11.0.2)
+### Fixed
+- Fixed parsing product byte size on newer ARIA S1-GUNW products
+
 ------
 ## [v11.0.1](https://github.com/asfadmin/Discovery-asf_search/compare/v11.0.0...v11.0.1)
 ### Added


=====================================
asf_search/Products/ARIAS1GUNWProduct.py
=====================================
@@ -56,6 +56,14 @@ class ARIAS1GUNWProduct(S1Product):
             self.properties['fileName'] = self.properties['fileID'] + '.' + urls[0].split('.')[-1]
             self.properties['additionalUrls'] = urls[1:]
 
+        if self.properties.get('bytes') is None:
+            bytesMap = self.umm_get(self.umm, 'DataGranule', 'ArchiveAndDistributionInformation')
+            if isinstance(bytesMap, list):
+                bytesMap = {entry['Format']: entry for entry in bytesMap}
+                if bytesMap.get('netCDF-4') is not None:
+                    self.properties['bytes'] = bytesMap['netCDF-4']['SizeInBytes']
+                    self.properties['md5sum'] = bytesMap['netCDF-4']['Checksum']['Value']
+
     def get_stack_opts(self, opts: Optional[ASFSearchOptions] = None) -> Optional[ASFSearchOptions]:
         """
         Build search options that can be used to find an insar stack for this product


=====================================
asf_search/export/jsonlite.py
=====================================
@@ -9,6 +9,8 @@ from shapely.ops import transform
 from asf_search import ASF_LOGGER
 from asf_search.export.export_translators import ASFSearchResults_to_properties_list
 
+_MB = 1048576
+
 extra_jsonlite_fields = [
     (
         "processingTypeDisplay",
@@ -262,6 +264,11 @@ class JSONLiteStreamArray(list):
                 result['ariaVersion'] = re.sub(r'[^0-9\.]', '', version_unformatted.replace("_", '.'))
             else:
                 result['ariaVersion'] = p.get('ariaVersion')
+                result['productTypeDisplay'] = 'Standard Product, NetCDF'
+            
+            if result['sizeMB'] is None:
+                result["sizeMB"] = float(p["bytes"]) / _MB
+                pass
         
         return result
 


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+asf-search (11.0.2-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 01 Feb 2026 18:17:24 +0000
+
 asf-search (11.0.1-1) unstable; urgency=medium
 
   [ Bas Couwenberg ]


=====================================
tests/yml_tests/Resources/ARIAS1-GUNW_response.yml
=====================================
@@ -231,6 +231,32 @@
               {
                 "Name": "S1-GUNW-A-R-035-tops-20240816_20230717-020815-00124W_00037N-PP-cf9c-v3_0_1.nc",
                 "SizeInBytes": 136887876,
+                "Format": "netCDF-4",
+                "Checksum":
+                  {
+                    "Value": "1da292d57037f6a3aabcbe2f0e513a5b",
+                    "Algorithm": "MD5",
+                  },
+              },
+              {
+                "Name": "S1-GUNW-A-R-035-tops-20240816_20230717-020815-00124W_00037N-PP-cf9c-v3_0_1.png",
+                "SizeInBytes": 519881,
+                "Format": "PNG",
+                "Checksum":
+                  {
+                    "Value": "198362a1ce9685adc675ab3bb4dc5f07",
+                    "Algorithm": "MD5",
+                  },
+              },
+              {
+                "Name": "S1-GUNW-A-R-035-tops-20240816_20230717-020815-00124W_00037N-PP-cf9c-v3_0_1.json",
+                "SizeInBytes": 2101,
+                "Format": "JSON",
+                "Checksum":
+                  {
+                    "Value": "e7e784e4dff95f6bcf4731c203ac65de",
+                    "Algorithm": "MD5",
+                  },
               },
             ],
           "DayNightFlag": "Unspecified",
@@ -244,6 +270,36 @@
           "Version": "1.6.6",
         },
     },
-    'meta':{'concept-type': 'granule', 'concept-id': 'G3240626260-ASF', 'revision-id': 1, 'native-id': 'S1-GUNW-A-R-035-tops-20240816_20230717-020815-00124W_00037N-PP-cf9c-v3_0_1', 'collection-concept-id': 'C2859376221-ASF', 'provider-id': 'ASF', 'format': 'application/vnd.nasa.cmr.umm+json', 'revision-date': '2024-09-16T22:41:27.238Z'},
-    'baseline': {'stateVectors': {'positions': {'prePosition': None, 'prePositionTime': None, 'postPosition': None, 'postPositionTime': None}, 'velocities': {'preVelocity': None, 'preVelocityTime': None, 'postVelocity': None, 'postVelocityTime': None}}, 'ascendingNodeTime': None}
+  "meta":
+    {
+      "concept-type": "granule",
+      "concept-id": "G3240626260-ASF",
+      "revision-id": 1,
+      "native-id": "S1-GUNW-A-R-035-tops-20240816_20230717-020815-00124W_00037N-PP-cf9c-v3_0_1",
+      "collection-concept-id": "C2859376221-ASF",
+      "provider-id": "ASF",
+      "format": "application/vnd.nasa.cmr.umm+json",
+      "revision-date": "2024-09-16T22:41:27.238Z",
+    },
+  "baseline":
+    {
+      "stateVectors":
+        {
+          "positions":
+            {
+              "prePosition": None,
+              "prePositionTime": None,
+              "postPosition": None,
+              "postPositionTime": None,
+            },
+          "velocities":
+            {
+              "preVelocity": None,
+              "preVelocityTime": None,
+              "postVelocity": None,
+              "postVelocityTime": None,
+            },
+        },
+      "ascendingNodeTime": None,
+    },
 }


=====================================
tests/yml_tests/test_authenticated/test_ASFSubproduct_Auth.yml
=====================================
@@ -2,4 +2,4 @@ tests:
 - test-collection-attributes RSLC:
     params:
       processingLevel: RSLC
-    expected_attributes: ['PRODUCT_TYPE', 'RANGE_BANDWIDTH_CONCAT', 'FREQUENCY_A_POLARIZATION_CONCAT', 'STACK_ID', 'FULL_FRAME', 'ASCENDING_DESCENDING', 'FREQUENCY_B_POLARIZATION_CONCAT', 'PRODUCT_VERSION', 'EPHEMERIS_ACCURACY', 'FRAME_NUMBER', 'FREQUENCIES', 'PRODUCT_TYPE_DESC', 'JOINT_OBSERVATION', 'FREQUENCY_A_POLARIZATION', 'FREQUENCY_B_POLARIZATION', 'FREQUENCY_A_RANGE_BANDWIDTH', 'FREQUENCY_B_RANGE_BANDWIDTH', 'PRODUCTION_PIPELINE', 'PATH_NUMBER', 'PROCESSING_CENTER', 'PROCESSING_LEVEL']
+    expected_attributes: ['ASCENDING_DESCENDING', 'TRACK_NUMBER', 'FRAME_NUMBER', 'FREQUENCY_A_POLARIZATION', 'FREQUENCY_B_POLARIZATION', 'PRODUCT_VERSION', 'PROCESSING_CENTER', 'FREQUENCIES', 'FULL_FRAME', 'FREQUENCY_A_RANGE_BANDWIDTH', 'FREQUENCY_B_RANGE_BANDWIDTH', 'RANGE_BANDWIDTH_CONCAT', 'JOINT_OBSERVATION', 'PROCESSING_LEVEL', 'PRODUCT_TYPE', 'PRODUCT_TYPE_DESC', 'PRODUCTION_PIPELINE', 'FREQUENCY_A_POLARIZATION_CONCAT', 'FREQUENCY_B_POLARIZATION_CONCAT', 'ORBIT_TYPE', 'STACK_ID', 'INPUT_RCID']
\ No newline at end of file



View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/36e037ea958f4737424407e747324e863128cbd6...57bd7c2ff2e621d85a90022db70d21d2aa0fa9c4

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/36e037ea958f4737424407e747324e863128cbd6...57bd7c2ff2e621d85a90022db70d21d2aa0fa9c4
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/20260201/dd9cdf52/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list