diff --git a/oggm/utils/_workflow.py b/oggm/utils/_workflow.py index 145e5c526..e3aea1956 100644 --- a/oggm/utils/_workflow.py +++ b/oggm/utils/_workflow.py @@ -2814,7 +2814,7 @@ def _reproject_and_write_shapefile(self, entity): entity['Area'] = area # Avoid fiona bug: https://github.com/Toblerity/Fiona/issues/365 - for k, s in entity.iteritems(): + for k, s in entity.items(): if type(s) in [np.int32, np.int64]: entity[k] = int(s) towrite = gpd.GeoDataFrame(entity).T