From 1ab1b69d9e938d9bfbacc90e10629f40f4db1a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sarah=20H=C3=BClsen?= <49907095+sarah-hlsn@users.noreply.github.com> Date: Mon, 4 Dec 2023 14:06:56 +0100 Subject: [PATCH] fix typo in from_exposures method --- climada/hazard/centroids/centr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):