sdss / lvmdrp

Local Volume Mapper (LVM) Data Reduction Pipeline
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

[ERROR]: Failed to reduce science frame mjd 60277 exposure 8487: FiberRows.from_spectrographs() missing 3 required positional arguments: 'spec1', 'spec2', and 'spec3' #109

Closed JEMendezD closed 4 months ago

JEMendezD commented 4 months ago

I am trying to reduce locally some pointings of Orion. The new version of the DRP seems to work fine until i get this error:

drp run -m 60277 -e 8487

evaluating fiber model: 100%|###################################################################################################################| 1100/1100 [00:20<00:00, 53.11column/s] [INFO]: median shift in fibers: median_shift = -0.0138+/-std_shift = 0.1689 pixels for mjd = 60277, expnum = 8487, camera = 'z3' [INFO]: plotting fiber thermal shifts [INFO]: writing extracted spectra to lvm-xobject-z3-00008487.fits [INFO]: stacking frames in lvm-xobject-b1-00008487.fits,lvm-xobject-b2-00008487.fits,lvm-xobject-b3-00008487.fits along fiber ID axis [INFO]: writing stacked RSS to lvm-xobject-b-00008487.fits [ERROR]: Failed to reduce science frame mjd 60277 exposure 8487: FiberRows.from_spectrographs() missing 3 required positional arguments: 'spec1', 'spec2', and 'spec3' Traceback (most recent call last): File "/Users/mdelgado/anaconda3/envs/lvmdrp/lib/python3.10/site-packages/lvmdrp/main.py", line 1897, in run_drp science_reduction(expnum, use_fiducial_master=True, File "/Users/mdelgado/anaconda3/envs/lvmdrp/lib/python3.10/site-packages/lvmdrp/main.py", line 1726, in science_reduction create_pixel_table(in_rss=xsci_path, out_rss=wsci_path, in_waves=mwave_paths, in_lsfs=mlsf_paths) File "/Users/mdelgado/anaconda3/envs/lvmdrp/lib/python3.10/site-packages/lvmdrp/functions/rssMethod.py", line 873, in create_pixel_table wave_trace = TraceMask.from_spectrographs(*wave_traces) TypeError: FiberRows.from_spectrographs() missing 3 required positional arguments: 'spec1', 'spec2', and 'spec3'

JEMendezD commented 4 months ago

An update of the calibration files was needed.