Closed lucarizzi closed 4 years ago
Here is the traceback:
2020-04-29 15:07:19:DRPF:INFO: Event completed: name next_file, action ingest_file, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:19:DRPF:INFO: ******* FILE TYPE DETERMINED AS FLATLAMP 2020-04-29 15:07:19:DRPF:INFO: ******* GROUPID is 2020-02-21-24 2020-04-29 15:07:19:DRPF:INFO: Event failed: name file_ingested, action action_planner, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:19:DRPF:INFO: Event completed: name process_flat, action ProcessFlat, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:19:KCWI:INFO: Subtracting master bias 2020-04-29 15:07:19:DRPF:INFO: Looking for MBIAS frames 2020-04-29 15:07:19:DRPF:INFO: Looking for frames with CCDCFG = 2201009 2020-04-29 15:07:19:KCWI:INFO: 1 master bias frames found 2020-04-29 15:07:19:KCWI:INFO: Reading image: kb200221_00030_mbias.fits 2020-04-29 15:07:19:KCWI:INFO: kcwidrp.primitives.SubtractBias.SubtractBias 2020-04-29 15:07:19:DRPF:INFO: Event completed: name flat_subtract_bias, action SubtractBias, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:19:KCWI:INFO: Amp1 Read noise from oscan in e-: 2.388 2020-04-29 15:07:20:KCWI:INFO: Amp2 Read noise from oscan in e-: 2.289 2020-04-29 15:07:22:KCWI:INFO: kcwidrp.primitives.SubtractOverscan.SubtractOverscan 2020-04-29 15:07:22:DRPF:INFO: Event completed: name flat_subtract_overscan, action SubtractOverscan, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:22:KCWI:INFO: kcwidrp.primitives.TrimOverscan.TrimOverscan 2020-04-29 15:07:22:DRPF:INFO: Event completed: name flat_trim_overscan, action TrimOverscan, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:22:KCWI:INFO: Correcting detector defects 2020-04-29 15:07:22:KCWI:INFO: Reading defect list in: /Users/lrizzi/PythonProjects/KCWI_DRP/kcwidrp/data/defect_TUP_2x2.dat 2020-04-29 15:07:22:KCWI:INFO: Cleaned 1182 bad pixels 2020-04-29 15:07:22:KCWI:INFO: kcwidrp.primitives.CorrectDefects.CorrectDefects 2020-04-29 15:07:22:DRPF:INFO: Event completed: name flat_correct_defects, action CorrectDefects, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:22:KCWI:INFO: Finding and masking cosmic rays 2020-04-29 15:07:22:KCWI:INFO: LA CosmicX: exptime < minexptime=60.0 2020-04-29 15:07:22:KCWI:INFO: kcwidrp.primitives.RemoveCosmicRays.RemoveCosmicRays 2020-04-29 15:07:22:DRPF:INFO: Event completed: name flat_remove_crs, action RemoveCosmicRays, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:22:KCWI:INFO: kcwidrp.primitives.RectifyImage.RectifyImage 2020-04-29 15:07:22:KCWI:INFO: >>> Saving to redux/kb200221_00024_int.fits 2020-04-29 15:07:22:DRPF:INFO: writing proc table file: kcwi.proc 2020-04-29 15:07:22:DRPF:INFO: Event completed: name flat_rectify_image, action RectifyImage, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:22:KCWI:INFO: Subtracting master dark 2020-04-29 15:07:22:DRPF:INFO: Looking for MDARK frames 2020-04-29 15:07:22:DRPF:INFO: Looking for frames with CCDCFG = 2201009 2020-04-29 15:07:22:KCWI:INFO: 0 master dark frames found 2020-04-29 15:07:22:KCWI:INFO: No master dark frame available, skipping 2020-04-29 15:07:22:KCWI:INFO: kcwidrp.primitives.SubtractDark.SubtractDark 2020-04-29 15:07:22:DRPF:INFO: Event completed: name flat_subtract_dark, action SubtractDark, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:24:KCWI:INFO: Starting scattered light subtraction 2020-04-29 15:07:24:KCWI:INFO: kcwidrp.primitives.SubtractScatteredLight.SubtractScatteredLight 2020-04-29 15:07:24:KCWI:INFO: >>> Saving to redux/kb200221_00024_intd.fits 2020-04-29 15:07:24:DRPF:INFO: writing proc table file: kcwi.proc 2020-04-29 15:07:24:DRPF:INFO: Event completed: name flat_subtract_scat, action SubtractScatteredLight, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:24:KCWI:INFO: Checking precondition for StackFlats 2020-04-29 15:07:24:DRPF:INFO: Looking for SFLAT frames 2020-04-29 15:07:24:DRPF:INFO: Looking for FLATLAMP frames 2020-04-29 15:07:24:KCWI:INFO: pre condition got 1, expecting 6 2020-04-29 15:07:24:DRPF:INFO: Event failed: name flat_make_stack, action StackFlats, arg name kb200221_00024.fits, recurr False 2020-04-29 15:07:25:KCWI:INFO: Checking precondition for MakeMasterFlat 2020-04-29 15:07:25:DRPF:ERROR: Exception while invoking MakeMasterFlat Traceback (most recent call last): File "/Users/lrizzi/PythonProjects/KeckDRPFramework/keckdrpframework/core/framework.py", line 209, in execute action_output = pipeline.get_action(action_name)(action, context) File "/Users/lrizzi/PythonProjects/KeckDRPFramework/keckdrpframework/pipelines/base_pipeline.py", line 84, in f return obj.apply() File "/Users/lrizzi/PythonProjects/KeckDRPFramework/keckdrpframework/primitives/base_primitive.py", line 56, in apply if self._pre_condition(): File "/Users/lrizzi/PythonProjects/KCWI_DRP/kcwidrp/primitives/MakeMasterFlat.py", line 37, in _pre_condition tab = self.context.proctab.n_proctab(frame=self.action.args.ccddata, AttributeError: 'Arguments' object has no attribute 'ccddata' 2020-04-29 15:07:25:DRPF:INFO: Event failed: name flat_make_master, action MakeMasterFlat, arg name undef, recurr False
Here is the traceback: