Skip to content

Commit

Permalink
Add cubewrite() refactoring TODOs.
Browse files Browse the repository at this point in the history
  • Loading branch information
truth-quark committed Oct 9, 2024
1 parent 4be4454 commit 34b119a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions umpost/um2netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@ def cubewrite(cube, sman, compression, use64bit, verbose):

cube, unlimited_dimension = fix_time_coord(cube, verbose)

# TODO: refactor & move to end of process()
# TODO: refactor cubewrite() to return (cube, unlimited dims, fill value)
# then move above steps into process() / remove cubewrite()
sman.write(cube,
zlib=True,
complevel=compression,
Expand Down

0 comments on commit 34b119a

Please sign in to comment.