From faeb345b26dde4894bac9dced5d7a061740b1761 Mon Sep 17 00:00:00 2001 From: JeroenVerstraelen Date: Thu, 7 Mar 2024 16:25:51 +0100 Subject: [PATCH] Revert "normalize band names in AggregatePolygonSpatialresult Open-EO/openeo-geopyspark-driver#663" This reverts commit 8642205073b96a20b576e2fb7360b540149b5af2. --- openeo_driver/save_result.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/openeo_driver/save_result.py b/openeo_driver/save_result.py index dc50d8d4..d8e6f8a9 100644 --- a/openeo_driver/save_result.py +++ b/openeo_driver/save_result.py @@ -818,8 +818,6 @@ def _get_geodataframe(self) -> gpd.GeoDataFrame: gdf["feature_index"] = gdf.index stats: pd.DataFrame = pd.read_csv(self._csv_path()) gdf = gdf.join(stats.set_index("feature_index"), on="feature_index") - # Convert e.g. avg(band_0) to avg_band_0_ - gdf = gdf.rename(columns=lambda col_name: re.sub(r"\W", "_", col_name)) return gdf.drop(columns=["feature_index"]) def to_driver_vector_cube(self) -> DriverVectorCube: