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
unwise_forcedphot failed:
Traceback (most recent call last):
File "/Users/dstn/legacypipe/py/legacypipe/unwise.py", line 524, in unwise_phot
W = unwise_forcedphot(wcat, tiles, use_ceres=wise_ceres, **kwargs)
File "/Users/dstn/legacypipe/py/legacypipe/unwise.py", line 220, in unwise_forcedphot
modelname='neo5_unwisecat')
File "/Users/dstn/legacypipe/py/unwise_psf/unwise_psf.py", line 298, in get_unwise_psf
rot = rotate_using_rd(model, coadd_id)
File "/Users/dstn/legacypipe/py/unwise_psf/unwise_psf.py", line 191, in rotate_using_rd
astr = _get_astrometry(coadd_id)
File "/Users/dstn/legacypipe/py/unwise_psf/unwise_psf.py", line 98, in _get_astrometry
match, = np.nonzero([c.decode() == coadd_id for c in atlas['COADD_ID']])
File "/Users/dstn/legacypipe/py/unwise_psf/unwise_psf.py", line 98, in <listcomp>
match, = np.nonzero([c.decode() == coadd_id for c in atlas['COADD_ID']])
AttributeError: 'numpy.str_' object has no attribute 'decode'
note that the type coming out of the FITS table is a numpy.str, so it doesn't have a decode. This is with the current default "pip install fitsio" version, 1.0.5.
The text was updated successfully, but these errors were encountered:
I'm getting:
note that the type coming out of the FITS table is a numpy.str, so it doesn't have a decode. This is with the current default "pip install fitsio" version, 1.0.5.
The text was updated successfully, but these errors were encountered: