You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a list of triggered events and once catfill.py has processed them all, I'm running into this error. Do you have any thought of what might go wrong?
Thanks,
Eva
Traceback (most recent call last):
File "catfill.py", line 137, in
redpy.plotting.createPlots(rtable, ftable, ttable, ctable, otable, opt)
File "/data/REDPy/redpy/plotting.py", line 75, in createPlots
plotFamilies(rtable, ftable, ctable, opt) File "/data/REDPy/redpy/plotting.py", line 1094, in plotFamilies
fi, ids, id1, id2, ccc, 'png', 100, cnum, 0, 0, opt)
File "/data/REDPy/redpy/plotting.py", line 1269, in plotSingleFamily
ymin = 0.5*np.min(windowAmp[np.nonzero(windowAmp)]) File "<array_function internals>", line 6, in amin
File "/home/eibl/miniconda3/envs/redpy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2880, in amin
keepdims=keepdims, initial=initial, where=where) File "/home/eibl/miniconda3/envs/redpy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity
Closing remaining open files:redpytable.h5...done
The text was updated successfully, but these errors were encountered:
Hmm, it seems to be complaining that there are no non-zero amplitudes for that family, which is strange. The file is probably small enough that you could look at the contents with h5dump directly and verify whether that's the case.
Hi Alicia,
I've created a list of triggered events and once catfill.py has processed them all, I'm running into this error. Do you have any thought of what might go wrong?
Thanks,
Eva
Traceback (most recent call last):
File "catfill.py", line 137, in
redpy.plotting.createPlots(rtable, ftable, ttable, ctable, otable, opt)
File "/data/REDPy/redpy/plotting.py", line 75, in createPlots
plotFamilies(rtable, ftable, ctable, opt) File "/data/REDPy/redpy/plotting.py", line 1094, in plotFamilies
fi, ids, id1, id2, ccc, 'png', 100, cnum, 0, 0, opt)
File "/data/REDPy/redpy/plotting.py", line 1269, in plotSingleFamily
ymin = 0.5*np.min(windowAmp[np.nonzero(windowAmp)]) File "<array_function internals>", line 6, in amin
File "/home/eibl/miniconda3/envs/redpy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2880, in amin
keepdims=keepdims, initial=initial, where=where) File "/home/eibl/miniconda3/envs/redpy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity
Closing remaining open files:redpytable.h5...done
The text was updated successfully, but these errors were encountered: