Skip to content

Commit

Permalink
Fix plural variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
truth-quark committed Oct 10, 2024
1 parent dff0b7d commit e31c542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions umpost/um2netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,15 +380,15 @@ def cubewrite(cube, sman, compression, use64bit, verbose):
if coord.points.dtype == np.int64:
coord.points = coord.points.astype(np.int32)

cube, unlimited_dimension = fix_time_coord(cube, verbose)
cube, unlimited_dimensions = 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,
unlimited_dimensions=unlimited_dimension,
unlimited_dimensions=unlimited_dimensions,
fill_value=fill_value)


Expand Down

0 comments on commit e31c542

Please sign in to comment.