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

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Mar 28 18:52:34 GMT 2026



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


Commits:
d70e44c8 by Antonio Valentino at 2026-03-28T18:49:09+00:00
New upstream version 12.0.6
- - - - -
efebbf3b by Antonio Valentino at 2026-03-28T18:49:12+00:00
Update upstream source from tag 'upstream/12.0.6'

Update to upstream version '12.0.6'
with Debian dir 6df204608c77fa08ec56beb7e4dcf01546ba0d8e
- - - - -
7452fa9f by Antonio Valentino at 2026-03-28T18:49:41+00:00
New usptream release

- - - - -
2c7ff900 by Antonio Valentino at 2026-03-28T18:50:02+00:00
Set distribution to unstable

- - - - -


6 changed files:

- CHANGELOG.md
- asf_search/CMR/translate.py
- asf_search/__init__.py
- + asf_search/utils/NISAR.py
- + asf_search/utils/__init__.py
- debian/changelog


Changes:

=====================================
CHANGELOG.md
=====================================
@@ -25,12 +25,22 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 -
 
 -->
+------
+## [v12.0.6](https://github.com/asfadmin/Discovery-asf_search/compare/v12.0.5...v12.0.6)
+### Added
+- `utils` module added as top level module
+    - `get_nisar_orbit_ephemeras()` method returns dictionary with latest `NISAR` `POE`, `MOE`, `NOE`, and `FOE` orbit ephemeras
+
+### Fixed
+- Fix track based searches when `processingLevel` specified on `NISAR` dataset searches
+
 ------
 ## [v12.0.5](https://github.com/asfadmin/Discovery-asf_search/compare/v12.0.4...v12.0.5)
 ### Added
 - DIST-ALERT-S1 product type to OPERA dataset
   - TileID searchable attribute
   - productVersion attribute
+
 ### Fixed
 - Fix edge-case with `platform` & `processingLevel` concept-id aliasing
 


=====================================
asf_search/CMR/translate.py
=====================================
@@ -16,13 +16,14 @@ try:
 except ImportError:
     from dateutil.parser import parse as parse_datetime
 
-
+nisar_collections_set = set(collections_per_platform['NISAR'])
 def translate_opts(opts: ASFSearchOptions) -> List:
     # Need to add params which ASFSearchOptions cant support (like temporal),
     # so use a dict to avoid the validate_params logic:
     dict_opts = dict(opts)
 
-    should_use_track = False
+    should_use_track = not set(dict_opts.get('collections', [])).isdisjoint(nisar_collections_set)
+
     if dict_opts.get('processingLevel') is not None: # Certain products are now using PRODUCT_TYPE instead of PROCESSING_LEVEL
         processingType = dict_opts.get('processingLevel', [])[0]
         if processingType in NISAR_PRODUCT_TYPES:


=====================================
asf_search/__init__.py
=====================================
@@ -55,6 +55,7 @@ from .baseline import *  # noqa: F403 F401 E402
 from .WKT import validate_wkt  # noqa: F401 E402
 from .export import *  # noqa: F403 F401 E402
 from .Pair import Pair  # noqa:  F401, E402
+from . import utils # noqa: F401, E402
 
 REPORT_ERRORS = True
 """Enables automatic search error reporting to ASF, send any questions to uso at asf.alaska.edu"""


=====================================
asf_search/utils/NISAR.py
=====================================
@@ -0,0 +1,23 @@
+from asf_search.constants import PRODUCT_TYPE
+from asf_search.search import search
+from asf_search import ASFSearchOptions
+from copy import copy
+
+
+def get_nisar_orbit_ephemeras(opts: ASFSearchOptions | None = None):
+    """Returns a dictionary of the latest NISAR orbit ephemera products (`POE`, `MOE`, `NOE`, and `FOE`).
+    Additional options may be specified to pass to search.
+
+    For more information refer to the NISAR Data User Guide:
+    https://nisar-docs.asf.alaska.edu/orbit-ephemeris/#tbl-nisar-orbit-ephemeris-characteristics
+    """
+    opts = ASFSearchOptions() if opts is None else copy(opts)
+
+    opts.shortName = 'NISAR_OE'
+    opts.maxResults = 1
+
+    orbits = {}
+    for processingLevel in [PRODUCT_TYPE.POE, PRODUCT_TYPE.MOE, PRODUCT_TYPE.NOE, PRODUCT_TYPE.FOE]:
+        orbits[processingLevel] = search(opts=opts, processingLevel=processingLevel)[0]
+
+    return orbits


=====================================
asf_search/utils/__init__.py
=====================================
@@ -0,0 +1 @@
+from .NISAR import get_nisar_orbit_ephemeras  # noqa: F401


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+asf-search (12.0.6-1) unstable; urgency=medium
+
+  * New usptream release.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 28 Mar 2026 18:49:48 +0000
+
 asf-search (12.0.5-1) unstable; urgency=medium
 
   * New upstream release.



View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/b54605d964e92332989d2aedf5ff3907a30f0412...2c7ff900a7deee46c43bc2dab37bc9cc3ca76545

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/b54605d964e92332989d2aedf5ff3907a30f0412...2c7ff900a7deee46c43bc2dab37bc9cc3ca76545
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/20260328/20d6c5bc/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list