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


Commits:
3a5b6503 by Antonio Valentino at 2026-02-19T06:12:06+00:00
New upstream version 12.0.1
- - - - -
aded6c03 by Antonio Valentino at 2026-02-19T06:12:09+00:00
Update upstream source from tag 'upstream/12.0.1'

Update to upstream version '12.0.1'
with Debian dir 9fe30782a8c41fca2f2e8832885452f792d12891
- - - - -
e19d0548 by Antonio Valentino at 2026-02-19T06:13:19+00:00
New upstream release

- - - - -
4a823757 by Antonio Valentino at 2026-02-19T06:13:47+00:00
Set distribution to unstable

- - - - -


6 changed files:

- CHANGELOG.md
- asf_search/Products/TROPOProduct.py
- asf_search/export/jsonlite.py
- asf_search/export/jsonlite2.py
- debian/changelog
- + examples/demos/nisar-science-product-access.ipynb


Changes:

=====================================
CHANGELOG.md
=====================================
@@ -25,6 +25,11 @@ and uses [Semantic 
Versioning](https://semver.org/spec/v2.0.0.html).
 -
 
 -->
+------
+## 
[v12.0.1](https://github.com/asfadmin/Discovery-asf_search/compare/v12.0.0...v12.0.1)
+### Added
+- `collectionName` and `conceptID` added to `TROPOProduct` properties dict
+
 ------
 ## 
[v12.0.0](https://github.com/asfadmin/Discovery-asf_search/compare/v11.0.3...v12.0.0)
 ### Added


=====================================
asf_search/Products/TROPOProduct.py
=====================================
@@ -24,6 +24,7 @@ class TROPOProduct(ASFProduct):
             'path': ['AdditionalAttributes', ('Name', 'PRODUCT_TYPE'), 
'Values', 0]
         },
         'bytes': {'path': ['DataGranule', 
'ArchiveAndDistributionInformation']},
+        'collectionName': {'path': ["CollectionReference", "ShortName"]},
     }
 
     def __init__(self, args: dict = {}, session: ASFSession = ASFSession()):
@@ -49,3 +50,5 @@ class TROPOProduct(ASFProduct):
         self.properties['browse'] = [url for url in self._get_urls() if 
url.endswith('.png') or url.endswith('.jpg') or url.endswith('.jpeg')]
         self.properties['additionalUrls'] = self._get_additional_urls()
         self.properties['s3Urls'] = self._get_s3_uris()
+        
+        self.properties["conceptID"] = self.umm_get(self.meta, 
"collection-concept-id")


=====================================
asf_search/export/jsonlite.py
=====================================
@@ -233,6 +233,8 @@ class JSONLiteStreamArray(list):
             result['sizeMB'] = p.get('bytes', {})
             result['s3Urls'] = p.get('s3Urls', [])
             result['additionalUrls'] = p.get('additionalUrls')
+            result["collectionName"] = p.get("collectionName")
+            result["conceptID"] = p.get("conceptID")
         elif p.get('operaBurstID') is not None or 
result['productID'].startswith('OPERA'):
             result['opera'] = {
                 'operaBurstID': p.get('operaBurstID'),


=====================================
asf_search/export/jsonlite2.py
=====================================
@@ -81,9 +81,13 @@ class JSONLite2StreamArray(JSONLiteStreamArray):
         
         if p.get('nisar') is not None:
             result['nsr'] = p['nisar']
+        
+        if p.get('collectionName') is not None:
             result["cnm"] = p["collectionName"]
+
+        if p.get('conceptID') is not None:
             result["cid"] = p["conceptID"]
-        
+
         if p.get('ariaVersion') is not None:
             result['ariav'] = p.get('ariaVersion')
     


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+asf-search (12.0.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Antonio Valentino <[email protected]>  Thu, 19 Feb 2026 
06:13:30 +0000
+
 asf-search (12.0.0-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
examples/demos/nisar-science-product-access.ipynb
=====================================
The diff for this file was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/debian-gis-team/asf-search/-/compare/2f05507e482754d131c5cbb1e16e61ed48f03a47...4a82375762941b85d3a1626c04fd202b09e3cf59

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/asf-search/-/compare/2f05507e482754d131c5cbb1e16e61ed48f03a47...4a82375762941b85d3a1626c04fd202b09e3cf59
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to