Open londumas opened 6 years ago
@ngbusca can you look into this? Science frames should have FLAVOR keyword "science" in the output files. Or @londumas you are welcome to submit a patch for boss2desi to fix that.
We could also consider making this a non-fatal error when reading the spectra, since I don't think we actually need FLAVOR for anything in redrock itself. I think that would require an update to desispec.io.readframe
.
@sbailey, it isn't a fatal error. it is a warning.
@londumas thanks for clarifying. That takes the pressure off. It would still be good for boss2desi to fill in that keyword, but glad to know that isn't a blocking factor for using those files.
This is a known issue. Please let me know offline what you are trying to do with these boss bricks, there are many "known issues" like this one.
doss2desi bricks miss the "FLAVOR" flag. It is defined as: Flavor [arc, flat, science, ...] (py/desispec/test/pipehelpers.py)
When running on boss2desi bricks I get: