diff --git a/climada/hazard/centroids/centr.py b/climada/hazard/centroids/centr.py index 8481abfc60..00a7af1966 100644 --- a/climada/hazard/centroids/centr.py +++ b/climada/hazard/centroids/centr.py @@ -250,7 +250,7 @@ def from_exposures(cls, exposures): Centroids built from the exposures """ gdf = exposures.gdf[['geometry', 'region_id']] - return cls.from_geodtaframe(gdf) + return cls.from_geodataframe(gdf) @classmethod def from_pnt_bounds(cls, points_bounds, res, crs=DEF_CRS):