[Git][debian-gis-team/asf-search][upstream] New upstream version 6.7.1

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sun Nov 19 09:49:27 GMT 2023



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


Commits:
446838c8 by Antonio Valentino at 2023-11-19T07:48:10+00:00
New upstream version 6.7.1
- - - - -


2 changed files:

- CHANGELOG.md
- asf_search/CMR/translate.py


Changes:

=====================================
CHANGELOG.md
=====================================
@@ -26,6 +26,10 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 -->
 ------
+## [v6.7.1](https://github.com/asfadmin/Discovery-asf_search/compare/v6.7.0...v6.7.1)
+### Fixed
+- Fixes issue with certain S1 products not stacking properly in certain environments, which caused null `perpendicularBaseline` values
+
 ## [v6.7.0](https://github.com/asfadmin/Discovery-asf_search/compare/v6.6.3...v6.7.0)
 ### Added
 - Adds new `dataset` keyword to `search()` as an alternative to `platform`. Allows users to get results from multiple platforms at once in a single page


=====================================
asf_search/CMR/translate.py
=====================================
@@ -195,7 +195,15 @@ def translate_product(item: dict) -> dict:
     velocities['postVelocity'], velocities['postVelocityTime'] = cast(get_state_vector, get(umm, 'AdditionalAttributes', ('Name', 'SV_VELOCITY_POST'), 'Values', 0))
     ascendingNodeTime = get(umm, 'AdditionalAttributes', ('Name', 'ASC_NODE_TIME'), 'Values', 0)
 
-
+    for key in ['prePositionTime','postPositionTime','preVelocityTime','postVelocityTime']:
+        if positions.get(key) is not None:
+            if not positions.get(key).endswith('Z'):
+                positions[key] += 'Z'
+    
+    if ascendingNodeTime is not None:
+        if not ascendingNodeTime.endswith('Z'):
+            ascendingNodeTime += 'Z'
+    
     stateVectors = {
         'positions': positions,
         'velocities': velocities



View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/446838c8a0ca01fa78b51a993ef6428437264637

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/446838c8a0ca01fa78b51a993ef6428437264637
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/20231119/8de49b0f/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list