pypeit / PypeIt

The Python Spectroscopic Data Reduction Pipeline
BSD 3-Clause "New" or "Revised" License
155 stars 99 forks source link

Two Quicklook oddities #1744

Open MNBrod opened 6 months ago

MNBrod commented 6 months ago

The Quicklook script reports that it can't find the science file passed in, although the script is still able to complete:

pypeit_ql keck_deimos --raw_path /Users/mbrodheim/drp/deimos_test/20230813 --raw_files d0813_0013.fits --sci_files d0813_0013.fits --setup_calib_dir /Users/mbrodheim/drp/deimos_test/20230813/keck_deimos_A/Calibrations --redux_path /Users/mbrodheim/drp/deimos_test/ql_test --det 3,7 --slitspatnum MSC03:1165
[INFO]    :: Loading the reduction file

[ERROR]   :: The filename does not exist -
             d0813_0013.fits
[INFO]    :: Adding metadata for d0813_0013.fits

This doesn't impact anything, except raising flags that an error occured.

Secondly, the final call to pypeit_show_2dspec errors out if the selected slit is not on --det=DET01. The detector/mosaic is passed into the quicklook script (as seen above), so it shouldn't be much trouble to pass that through to the 2d spec call.

profxj commented 6 months ago

Let me add one more:

Are we sure the local skysub is off? A recent run on LRISr took a long time..