Antonio Valentino pushed to branch master at Debian GIS Project / asf-search
Commits: 89707d13 by Antonio Valentino at 2025-08-22T05:32:19+00:00 New upstream version 10.0.1 - - - - - 8c582845 by Antonio Valentino at 2025-08-22T05:32:24+00:00 Update upstream source from tag 'upstream/10.0.1' Update to upstream version '10.0.1' with Debian dir 7d1faf018be4b772a7648a8e91ac7d7c0f02ffa3 - - - - - 512b6d3f by Antonio Valentino at 2025-08-22T05:33:00+00:00 New upstream release - - - - - f5a26b45 by Antonio Valentino at 2025-08-22T05:33:35+00:00 Set distribution to unstable - - - - - 4 changed files: - CHANGELOG.md - asf_search/Products/NISARProduct.py - asf_search/export/jsonlite.py - debian/changelog Changes: ===================================== CHANGELOG.md ===================================== @@ -26,6 +26,10 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --> ------ +## [v10.0.1](https://github.com/asfadmin/Discovery-asf_search/compare/v10.0.0...v10.0.1) +### Added +- adds NISAR file sizes to the `nisar` attribute of exports +------ ## [v10.0.0](https://github.com/asfadmin/Discovery-asf_search/compare/v9.0.9...v10.0.0) ### Added - adds `asf-enumeration` package as optional dependency (installable via `pip install asf-search[asf-enumeration]`) ===================================== asf_search/Products/NISARProduct.py ===================================== @@ -22,6 +22,7 @@ class NISARProduct(ASFStackableProduct): 'rangeBandwidth': {'path': ['AdditionalAttributes', ('Name', 'RANGE_BANDWIDTH_CONCAT'), 'Values']}, 'productionConfiguration': {'path': ['AdditionalAttributes', ('Name', 'PRODUCTION_PIPELINE'), 'Values', 0]}, 'processingLevel': {'path': ['AdditionalAttributes', ('Name', 'PRODUCT_TYPE'), 'Values', 0]}, + 'bytes': {'path': ['DataGranule', 'ArchiveAndDistributionInformation']}, } def __init__(self, args: Dict = {}, session: ASFSession = ASFSession()): super().__init__(args, session) @@ -34,6 +35,10 @@ class NISARProduct(ASFStackableProduct): if self.properties.get('groupID') is None: self.properties['groupID'] = self.properties['sceneName'] + self.properties['bytes'] = { + entry['Name']: {'bytes': entry['SizeInBytes'], 'format': entry['Format']} + for entry in self.properties['bytes'] + } @staticmethod def get_default_baseline_product_type() -> Union[str, None]: ===================================== asf_search/export/jsonlite.py ===================================== @@ -245,6 +245,7 @@ class JSONLiteStreamArray(list): 'frameCoverage': p.get('frameCoverage'), 'jointObservation': p.get('jointObservation'), 'rangeBandwidth': p.get('rangeBandwidth'), + 'sizeMB': p.get('bytes'), } elif result.get('productID', result.get('fileName', '')).startswith('S1-GUNW'): result.pop("perpendicularBaseline", None) ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +asf-search (10.0.1-1) unstable; urgency=medium + + * New upstream release. + + -- Antonio Valentino <[email protected]> Fri, 22 Aug 2025 05:33:21 +0000 + asf-search (10.0.0-1) unstable; urgency=low * New upstream release. View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/ad9b02f276d5b9a49532fad1bd81427bab5fa064...f5a26b454afb38f6baf7a0943fd5d85dea60d6c1 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/ad9b02f276d5b9a49532fad1bd81427bab5fa064...f5a26b454afb38f6baf7a0943fd5d85dea60d6c1 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
