Skip to content

Commit

Permalink
Fix convert_attribute()
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Feb 7, 2023
1 parent ec5269b commit d963fab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions isimip_utils/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def convert_attribute(value):
value = float(value)
elif type(value) in INT_TYPES:
value = int(value)
return value


def update_global_attributes(dataset, set_attributes={}, delete_attributes=[]):
Expand Down

0 comments on commit d963fab

Please sign in to comment.