[Git][debian-gis-team/asf-search][upstream] New upstream version 14.0.1
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Wed Sep 23 07:28:59 BST 2026
Antonio Valentino pushed to branch upstream at Debian GIS Project / asf-search
Commits:
58970d2d by Antonio Valentino at 2026-09-23T06:22:25+00:00
New upstream version 14.0.1
- - - - -
7 changed files:
- CHANGELOG.md
- asf_search/ASFProduct.py
- asf_search/CMR/datasets.py
- asf_search/constants/PRODUCT_TYPE.py
- asf_search/export/jsonlite.py
- examples/Advanced-Custom-ASFProduct-Subclassing.ipynb
- tests/yml_tests/test_search.yml
Changes:
=====================================
CHANGELOG.md
=====================================
@@ -26,6 +26,18 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-->
+
+## [v14.0.1](https://github.com/asfadmin/Discovery-asf_search/compare/v14.0.0...v14.0.1)
+
+### Added
+
+- `SMAP` dataset data migration product types. `L1A_RADAR_RO`, `L1A_RADAR`, `L1B_S0_LORES`, `L1C_S0_HIRES`
+- Add `collectionName` and `conceptID` to `jsonlite1/2` output for all product types where it's relevant
+
+### Removed
+
+- Removed legacy `UAVSAR` platform and dataset shortname entries
+
---
## [v14.0.0](https://github.com/asfadmin/Discovery-asf_search/compare/v13.1.1...v14.0.0)
### Changed
=====================================
asf_search/ASFProduct.py
=====================================
@@ -486,7 +486,9 @@ class ASFProduct:
self.properties["s3Urls"] = self._get_s3_uris()
self.properties["conceptID"] = self.umm_get(self.meta, "collection-concept-id")
-
+ self.properties["collectionName"] = self.umm_get(
+ self.umm, "CollectionReference", "ShortName"
+ )
center = self.centroid()
self.properties["centerLat"] = center.y
self.properties["centerLon"] = center.x
=====================================
asf_search/CMR/datasets.py
=====================================
@@ -276,24 +276,6 @@ dataset_collections = {
"SMAP_L1C_S0_V3",
},
"UAVSAR": {
- "UAVSAR_POL_META",
- "UAVSAR_INSAR_META",
- "UAVSAR_INSAR_INT",
- "UAVSAR_POL_ML_CMPLX_GRD",
- "UAVSAR_POL_ML_CMPLX_SLANT",
- "UAVSAR_POL_INC",
- "UAVSAR_POL_KMZ",
- "UAVSAR_POL_DEM",
- "UAVSAR_POL_SLOPE",
- "UAVSAR_POL_ML_CMPLX_GRD_3X3",
- "UAVSAR_POL_STOKES",
- "UAVSAR_INSAR_INT_GRD",
- "UAVSAR_POL_PAULI",
- "UAVSAR_POL_ML_CMPLX_GRD_5X5",
- "UAVSAR_INSAR_KMZ",
- "UAVSAR_INSAR_AMP_GRD",
- "UAVSAR_INSAR_AMP",
- "UAVSAR_INSAR_DEM",
"UAVSAR_POLSAR",
"UAVSAR_RPI",
},
@@ -449,24 +431,6 @@ collections_per_platform = {
"SMAP_L1C_S0_V3",
},
"G-III": {
- "UAVSAR_POL_META",
- "UAVSAR_INSAR_META",
- "UAVSAR_INSAR_INT",
- "UAVSAR_POL_ML_CMPLX_GRD",
- "UAVSAR_POL_ML_CMPLX_SLANT",
- "UAVSAR_POL_INC",
- "UAVSAR_POL_KMZ",
- "UAVSAR_POL_DEM",
- "UAVSAR_POL_SLOPE",
- "UAVSAR_POL_ML_CMPLX_GRD_3X3",
- "UAVSAR_POL_STOKES",
- "UAVSAR_INSAR_INT_GRD",
- "UAVSAR_POL_PAULI",
- "UAVSAR_POL_ML_CMPLX_GRD_5X5",
- "UAVSAR_INSAR_KMZ",
- "UAVSAR_INSAR_AMP_GRD",
- "UAVSAR_INSAR_AMP",
- "UAVSAR_INSAR_DEM",
"UAVSAR_POLSAR",
"UAVSAR_RPI",
},
@@ -680,10 +644,10 @@ collections_by_processing_level = {
"GSLC": {"NISAR_L2_GSLC_BETA_V1", "NISAR_L2_GSLC_PROVISIONAL_V1", "NISAR_L2_GSLC_V1"},
"GUNW": {"NISAR_L2_GUNW_BETA_V1", "NISAR_L2_GUNW_PROVISIONAL_V1", "NISAR_L2_GUNW_V1"},
"SME2": {"NISAR_L3_SME2_BETA_V1", "NISAR_L3_SME2_PROVISIONAL_V1", "NISAR_L3_SME2_V1"},
- "L1A_RADAR_RO": {"L1A_RADAR_RO"},
- "L1C_S0_HIRES": {"L1C_S0_HIRES"},
- "L1B_S0_LORES": {"L1B_S0_LORES"},
- "L1A_RADAR": {"L1A_RADAR"},
+ "L1A_RADAR_RO": {"SMAP_L1A_RO_V3"},
+ "L1A_RADAR": {"SMAP_L1A_V2"},
+ "L1B_S0_LORES": {"SMAP_L1B_S0_V3"},
+ "L1C_S0_HIRES": {"SMAP_L1C_S0_V3"},
}
=====================================
asf_search/constants/PRODUCT_TYPE.py
=====================================
@@ -55,6 +55,11 @@ L1A_RADAR_RO_ISO_XML = "L1A_Radar_RO_ISO_XML"
L1B_S0_LOW_RES_ISO_XML = "L1B_S0_LoRes_ISO_XML"
L1C_S0_HIGH_RES_ISO_XML = "L1C_S0_HiRes_ISO_XML"
+L1A_RADAR_RO = "SMAP_L1A_RO_V3",
+L1A_RADAR = "SMAP_L1A_V2",
+L1B_S0_LORES = "SMAP_L1B_S0_V3",
+L1C_S0_HIRES = "SMAP_L1C_S0_V3",
+
# UAVSAR
POLSAR = "POLSAR"
RPI = "RPI"
=====================================
asf_search/export/jsonlite.py
=====================================
@@ -239,8 +239,6 @@ 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"),
@@ -266,8 +264,6 @@ class JSONLiteStreamArray(list):
"sizeMB": p.get("bytes"),
"orbitType": p.get("orbitType"),
}
- result["collectionName"] = p.get("collectionName")
- result["conceptID"] = p.get("conceptID")
elif p.get("platform") in _MIGRATED_DATASETS:
result["additionalUrls"] = p.get("additionalUrls", [])
result["s3Urls"] = p.get("s3Urls", [])
@@ -290,6 +286,9 @@ class JSONLiteStreamArray(list):
result["sizeMB"] = float(p["bytes"]) / _MB
pass
+ result["collectionName"] = p.get("collectionName")
+ result["conceptID"] = p.get("conceptID")
+
return result
def getOutputType(self) -> str:
=====================================
examples/Advanced-Custom-ASFProduct-Subclassing.ipynb
=====================================
@@ -28,12 +28,27 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 1,
"metadata": {},
- "outputs": [],
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "ASFSearchResults([<asf_search.Products.ARIAS1GUNWProduct.ARIAS1GUNWProduct at 0x7c7653693c10>,\n",
+ " <asf_search.Products.UAVSARProduct.UAVSARProduct at 0x7c7653a81110>,\n",
+ " <asf_search.Products.S1Product.S1Product at 0x7c7653a81490>,\n",
+ " <asf_search.Products.S1BurstProduct.S1BurstProduct at 0x7c765350a7d0>,\n",
+ " <asf_search.Products.ALOSProduct.ALOSProduct at 0x7c7653419690>])"
+ ]
+ },
+ "execution_count": 1,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
"source": [
"import asf_search as asf\n",
- "products = ['S1A_IW_SLC__1SDV_20231226T162948_20231226T163016_051828_0642C6_272F-SLC', 'S1_185682_IW2_20210224T161634_VV_035E-BURST','S1-GUNW-A-R-035-tops-20241214_20241108-020814-00124W_00037N-PP-677a-v3_0_1', 'ALPSRP111041130-RTC_HI_RES', 'UA_newyor_03204_22005-013_22010-002_0014d_s01_L090_01-INTERFEROMETRY']\n",
+ "products = ['S1A_IW_SLC__1SDV_20231226T162948_20231226T163016_051828_0642C6_272F-SLC', 'S1_185682_IW2_20210224T161634_VV_035E-BURST','S1-GUNW-A-R-035-tops-20241214_20241108-020814-00124W_00037N-PP-677a-v3_0_1', 'ALPSRP111041130-RTC_HI_RES', 'HDZAOI_21612_24061_007_240824_L090_CX_01']\n",
"results = asf.product_search(product_list=products)\n",
"results"
]
@@ -54,7 +69,7 @@
"metadata": {},
"outputs": [],
"source": [
- "ariaGunw, s1, uavsar, s1Burst, alos = results\n",
+ "ariaGunw, uavsar, s1, s1Burst, alos = results\n",
"\n",
"def compare_properties(lhs: asf.ASFProduct, rhs: asf.ASFProduct):\n",
" # Compares properties of two ASFProduct objects in a color coded table\n",
=====================================
tests/yml_tests/test_search.yml
=====================================
@@ -356,24 +356,6 @@ tests:
"SENTINEL-1B_SLC",
"UAVSAR_POLSAR",
"UAVSAR_RPI",
- "UAVSAR_INSAR_META",
- "UAVSAR_POL_ML_CMPLX_GRD",
- "UAVSAR_POL_SLOPE",
- "UAVSAR_INSAR_AMP",
- "UAVSAR_POL_KMZ",
- "UAVSAR_INSAR_INT",
- "UAVSAR_POL_DEM",
- "UAVSAR_POL_ML_CMPLX_SLANT",
- "UAVSAR_INSAR_INT_GRD",
- "UAVSAR_INSAR_DEM",
- "UAVSAR_POL_META",
- "UAVSAR_INSAR_AMP_GRD",
- "UAVSAR_POL_INC",
- "UAVSAR_POL_ML_CMPLX_GRD_5X5",
- "UAVSAR_POL_STOKES",
- "UAVSAR_INSAR_KMZ",
- "UAVSAR_POL_ML_CMPLX_GRD_3X3",
- "UAVSAR_POL_PAULI",
],
},
]
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/58970d2d8183626c7905e44ab75b903c76e6029c
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/58970d2d8183626c7905e44ab75b903c76e6029c
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260923/e1227867/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list