Bug #1521
Concatenation fails with index error
Start date:
07/14/2017
Due date:
% Done:
100%
Description
Traceback (most recent call last): File "/usr/people/sneep/.local/bin/concatenate_aggregate.py", line 276, in concatenate_pycama d.dump(args.output, mode='a') File "/usr/people/sneep/PyCAMA/pycama/src/pycama/WorldPlot.py", line 438, in dump var[time_step, :] = self.variables[k] File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/builddir/build/BUILD/h5py-2.6.0/h5py/_objects.c:2574) File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/builddir/build/BUILD/h5py-2.6.0/h5py/_objects.c:2533) File "/usr/lib64/python3.5/site-packages/h5py/_hl/dataset.py", line 595, in __setitem__ selection = sel.select(self.shape, args, dsid=self.id) File "/usr/lib64/python3.5/site-packages/h5py/_hl/selections.py", line 92, in select sel[args] File "/usr/lib64/python3.5/site-packages/h5py/_hl/selections.py", line 259, in __getitem__ start, count, step, scalar = _handle_simple(self.shape,args) File "/usr/lib64/python3.5/site-packages/h5py/_hl/selections.py", line 447, in _handle_simple x,y,z = _translate_int(int(arg), length) File "/usr/lib64/python3.5/site-packages/h5py/_hl/selections.py", line 467, in _translate_int raise ValueError("Index (%s) out of range (0-%s)" % (exp, length-1)) ValueError: Index (2) out of range (0-0)
History
#1 Updated by Maarten Sneep almost 5 years ago
- Priority changed from Normal to High
#2 Updated by Maarten Sneep almost 5 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
#3 Updated by Maarten Sneep almost 5 years ago
- Status changed from Resolved to Closed