Skip to content

Commit

Permalink
exclude dtype attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-schmitt committed Apr 6, 2023
1 parent 76282c1 commit b45b78b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oggm/utils/_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,8 @@ def compile_run_output(gdirs, path=True, input_filesuffix='',
data_vars[vn]['dims'] = ds.variables[vn].dimensions
data_vars[vn]['attrs'] = dict()
for attr in ds.variables[vn].ncattrs():
if attr not in ['_FillValue', 'coordinates']:
if attr not in ['_FillValue', 'coordinates',
'dtype']:
data_vars[vn]['attrs'][attr] = getattr(
ds.variables[vn], attr)

Expand Down

0 comments on commit b45b78b

Please sign in to comment.