Antonio Valentino pushed to branch upstream at Debian GIS Project / asf-search
Commits: 7b761c3e by Antonio Valentino at 2026-09-05T09:24:02+00:00 New upstream version 13.0.1 - - - - - 4 changed files: - CHANGELOG.md - asf_search/CMR/datasets.py - asf_search/CMR/translate.py - asf_search/search/collection_attributes.py Changes: ===================================== CHANGELOG.md ===================================== @@ -27,6 +27,14 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --> --- +## [v13.0.1](https://github.com/asfadmin/Discovery-asf_search/compare/v13.0.0...v13.0.1) + +### Fixed + +- Fixed frame based searches for dataets using `FRAME_NUMBER` additional attribute +- Fixed NISAR `dataMaturity` filter regression + +======= ## [v13.0.0](https://github.com/asfadmin/Discovery-asf_search/compare/v12.3.1...v13.0.0) ### Changed ===================================== asf_search/CMR/datasets.py ===================================== @@ -663,11 +663,11 @@ def get_nisar_collection_by_maturity(maturities: list[str]): for short_name in dataset_collections["NISAR"]: if "BETA" in short_name: - short_names["BETA"].extend(short_name) + short_names["BETA"].append(short_name) elif "PROVISIONAL" in short_name: - short_names["PROVISIONAL"].extend(short_name) + short_names["PROVISIONAL"].append(short_name) elif short_name.endswith("V1"): - short_names["VALIDATED"].extend(short_name) + short_names["VALIDATED"].append(short_name) try: return sum([short_names[maturity.upper()] for maturity in maturities], []) except KeyError: ===================================== asf_search/CMR/translate.py ===================================== @@ -24,7 +24,7 @@ def translate_opts(opts: ASFSearchOptions) -> List: # so use a dict to avoid the validate_params logic: dict_opts = dict(opts) - should_use_track = not set(dict_opts.get("collections", [])).isdisjoint(nisar_collections_set) + should_use_track = not set(dict_opts.get("shortName", [])).isdisjoint(nisar_collections_set) if ( dict_opts.get("processingLevel") is not None @@ -167,7 +167,7 @@ def should_use_asf_frame(cmr_opts): [ p[0] == "platform[]" and p[1].upper() in asf_frame_platforms - or p[0] == "shortName[]" + or p[0] == "shortName" and p[1] in asf_frame_collections for p in cmr_opts ] ===================================== asf_search/search/collection_attributes.py ===================================== @@ -83,7 +83,7 @@ def _get_short_names_for_processing_level(processing_level: str): raise ValueError( f'asf-search is missing short name aliases for processing level "{processing_level}". Please use `shortName` or `conceptID' ) - return [("shortName[]", collection) for collection in collections] + return [("shortName", collection) for collection in collections] def _query_cmr(session: ASFSession, query_data: list[tuple[str, str]], method: dict) -> dict: View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/7b761c3ee5d450baf6fa4a9f6505570ef347720e -- View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/7b761c3ee5d450baf6fa4a9f6505570ef347720e You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
