Skip to content

Commit

Permalink
deprec
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Jan 5, 2023
1 parent 7ad56dc commit aadd484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oggm/utils/_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aadd484

Please sign in to comment.