Commit 0e1021fc authored by Jeff Piollé's avatar Jeff Piollé

fix bug introduced by bad copy/paste in netCDF write_field

parent 3e56cb8f
......@@ -1056,7 +1056,7 @@ class NCFile(AbstractMapper):
elif (len(ncvar.shape) - 1 == len(values.shape) and
(ncvar.shape[0] == 1 or ncvar.shape[0] == 0)):
# case of grids
ncvar[0, ...] = values - values.min()
ncvar[0, ...] = values
else:
raise IndexError(
str(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment