Skip to content

Commit faeb345

Browse files
Revert "normalize band names in AggregatePolygonSpatialresult Open-EO/openeo-geopyspark-driver#663"
This reverts commit 8642205.
1 parent 74dd0a0 commit faeb345

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

openeo_driver/save_result.py

-2
Original file line numberDiff line numberDiff line change
@@ -818,8 +818,6 @@ def _get_geodataframe(self) -> gpd.GeoDataFrame:
818818
gdf["feature_index"] = gdf.index
819819
stats: pd.DataFrame = pd.read_csv(self._csv_path())
820820
gdf = gdf.join(stats.set_index("feature_index"), on="feature_index")
821-
# Convert e.g. avg(band_0) to avg_band_0_
822-
gdf = gdf.rename(columns=lambda col_name: re.sub(r"\W", "_", col_name))
823821
return gdf.drop(columns=["feature_index"])
824822

825823
def to_driver_vector_cube(self) -> DriverVectorCube:

0 commit comments

Comments
 (0)