Closed moustakas closed 2 years ago
This is a secondary-only SV3 target, I think, e.g.:
import fitsio
from desitarget.sv3.sv3_targetmask import desi_mask
objs = fitsio.read("/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/142/20210417/coadd-1-142-thru20210417.fits")
obj = objs[objs["TARGETID"] == 39627902928556042]
print(desi_mask.names(obj["SV3_DESI_TARGET"]))
['SCND_ANY']
desitarget
doesn't provide PHOTSYS
for secondary targets, as they may not have been targeted using the Legacy Surveys. So, I think this must be an SV3-era downstream bug in fiberassign
(if fiberassign
was adding supplemental PHOTSYS
information to the target files during SV3).
@araichoor @geordie666
This tile is currently crashing the fuji test-runs. The failed assert is in
desispec.io.photo
, but for now we can try to capture it infastspecfit.io.DESISpectra.select
.In essence, there's one target with all the DR9-identifying information one would expect except PHOTSYS, which shouldn't happen (I think):