Closed geordie666 closed 2 months ago
This is still a work in progress while we determine whether we need more special-casing (as described in #224).
Thanks, looks good. I will merge this and close the issues, but we can re-open them and reconsider a custom NODATA template if we find ourselves still tripping on these.
This PR sets
ZWARN
ofNODATA
cases to a z=0,GALAXY
with blankSUBTYPE
and zero coefficients.It should address #224.
Example output files processed via:
rrdesi -i /global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/3351/20230905/coadd-1-3351-thru20230905.fits --outfile $SCRATCH/new.fits --ntargets 15
are at:
/pscratch/sd/a/adamyers/old.fits
(before this PR)/pscratch/sd/a/adamyers/new.fits
(after this PR)Test of the desired outcome: