[Git][debian-gis-team/asf-search][upstream] New upstream version 12.0.1
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Thu Feb 19 06:16:45 GMT 2026
Antonio Valentino pushed to branch upstream 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
- - - - -
5 changed files:
- CHANGELOG.md
- asf_search/Products/TROPOProduct.py
- asf_search/export/jsonlite.py
- asf_search/export/jsonlite2.py
- + 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')
=====================================
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/-/commit/3a5b65032aa8e24b1f6e8a2fc16659a557424852
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/3a5b65032aa8e24b1f6e8a2fc16659a557424852
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/20260219/6b5b7257/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list