Closed akremin closed 1 month ago
ok, this one is a bug / typo in the code, the create_petalnz_pdf()
function:
it should be if sel.sum() != sel.size
, not if sel.sum() > 0
, i.e. apply the selection is there are some tiles to remove.
I guess it didn t often trigger an error because the "error case" is when all tiles from the night are discarded.
that s the case for 20210917:
INFO:night_qa.py:150:get_surveys_night_expids: for NIGHT=20210917 found 14 exposures from 10 tiles for SURVEY=cmx and 3 exposures from 2 tiles for SURVEY=special
note that this error also occured in jura (and maybe earlier): /global/cfs/cdirs/desi/spectro/redux/jura/run/scripts/qa/night-qa-20210917.log https://data.desi.lbl.gov/desi/spectro/redux/jura/nightqa/20210917/
Resolved with Pull Request #2361
Nightqa crashes because of "special" survey tile in Kibo processing.
Log:
/global/cfs/cdirs/desi/spectro/redux/kibo/run/scripts/tsnr_nightqa/logs/nightqa-kibo-20210917.log
Script:
/global/cfs/cdirs/desi/spectro/redux/kibo/run/scripts/tsnr_nightqa/scripts/nightqa-kibo-20210917.slurm
Command:
desi_night_qa --nproc=64 --recompute -p kibo -n 20210917 -o /global/cfs/cdirs/desi/spectro/redux/kibo/nightqa/20210917