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
Here are a couple of errors that had cropped up in debugging some ASKAP processing. One was
Traceback (most recent call last):
File "/group/askap/acesops/ACES-r48219/UserScripts/col52r/ASKAP_continuum_validation.py", line 153, in
AKcat.set_specs(AK)
File "/group/askap/acesops/ACES-r48219/UserScripts/col52r/catalogue.py", line 344, in set_specs
self.img_peak_rms = rms_map.data[self.img_peak_pos][0]
IndexError: index 0 is out of bounds for axis 0 with size 0
and another, similar one was
Traceback (most recent call last):
File "/group/askap/acesops/ACES-r48219/UserScripts/col52r/ASKAP_continuum_validation.py", line 153, in
AKcat.set_specs(AK)
File "/group/askap/acesops/ACES-r48219/UserScripts/col52r/catalogue.py", line 339, in set_specs
self.img_peak = np.max(img_data[~np.isnan(img_data)])
File "/pawsey/cle60up05/python/2.7.14/numpy/1.13.3/lib/python2.7/site-packages/numpy-1.13.3-py2.7-linux-x86_64.egg/numpy/core/fromnumeric.py", line 2272, in amax
out=out, **kwargs)
File "/pawsey/cle60up05/python/2.7.14/numpy/1.13.3/lib/python2.7/site-packages/numpy-1.13.3-py2.7-linux-x86_64.egg/numpy/core/_methods.py", line 26, in _amax
return umr_maximum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity
These are related to, I think, spurious values, but simple tests will allow you to proceed. I have checked in the following changes to the ASKAP subversion repo, but you may want to do the same here (and there may be more - this was enough to get things going):
Here are a couple of errors that had cropped up in debugging some ASKAP processing. One was
and another, similar one was
These are related to, I think, spurious values, but simple tests will allow you to proceed. I have checked in the following changes to the ASKAP subversion repo, but you may want to do the same here (and there may be more - this was enough to get things going):
for the first instance, and
for the second.
The text was updated successfully, but these errors were encountered: