-
Type: Task
-
Status: Done (View Workflow)
-
Priority: Normal
-
Resolution: Done
-
Component/s: ics_drpActor
-
Labels:
-
Sprint:EngRun17May_June
As part of a dotRoach sequence, initialized with:
2024-05-05 18:12:29.874Z cmds 20 Actor.py:524 new cmd: startDotRoach dataRoot=/data/dotRoach/current maskFile=/data/fps/maskFiles/moveAll.csv
which started off sensibly:
2024-05-05 18:13:23.497Z cmds 20 Actor.py:524 new cmd: processDotRoach iteration=0 2024-05-05 18:13:23.690Z cmds 20 CommandLink.py:122 > 0 0 i ingestStatus=109957,0,OK,0 2024-05-05 18:13:23.696Z root 20 dotRoach.py:104 making fiberTrace for (1, 'r') 2024-05-05 18:13:31.300Z root 20 dotRoach.py:104 making fiberTrace for (2, 'r') 2024-05-05 18:13:36.867Z root 20 dotRoach.py:104 making fiberTrace for (3, 'r') 2024-05-05 18:13:44.669Z root 20 dotRoach.py:104 making fiberTrace for (4, 'r') 2024-05-05 18:13:58.399Z root 20 extractFlux.py:82 {'visit': 109957, 'arm': 'r', 'spectrograph': 2} flux extracted in 8.4s 2024-05-05 18:13:58.501Z root 20 extractFlux.py:82 {'visit': 109957, 'arm': 'r', 'spectrograph': 4} flux extracted in 8.3s 2024-05-05 18:13:59.916Z root 20 extractFlux.py:82 {'visit': 109957, 'arm': 'r', 'spectrograph': 1} flux extracted in 10.1s 2024-05-05 18:14:00.264Z root 20 extractFlux.py:82 {'visit': 109957, 'arm': 'r', 'spectrograph': 3} flux extracted in 10.2s 2024-05-05 18:14:00.513Z cmds 20 CommandLink.py:122 > 0 0 i dotRoach=/data/dotRoach/current/allIterations.csv 2024-05-05 18:14:00.524Z cmds 20 CommandLink.py:122 > 0 0 i text="visit=109957, nCobraKeepMoving=2355" 2024-05-05 18:14:00.601Z cmds 20 CommandLink.py:122 > 2 158 i dotRoach=/data/dotRoach/current/allIterations.csv 2024-05-05 18:14:00.610Z cmds 20 CommandLink.py:122 > 2 158 i text="visit=109957, nCobraKeepMoving=2355" 2024-05-05 18:14:00.610Z cmds 20 CommandLink.py:122 > 2 158 :
but then somehow ended up trying to process n-band data from a different visit (I think):
2024-05-05 18:27:23.422Z cmds 20 CommandLink.py:122 > 0 0 i ingestStatus=109963,0,OK,0 2024-05-05 18:27:23.428Z root 20 dotRoach.py:104 making fiberTrace for (2, 'n') 2024-05-05 18:27:27.326Z root 20 dotRoach.py:104 making fiberTrace for (3, 'n') Process Process-577: Traceback (most recent call last): File "/software/stack_INFRA-312/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-3.0.0/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/software/stack_INFRA-312/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-3.0.0/lib/python3.8/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/software/mhs/products/Linux64/ics_drpActor/0.5.1c/python/drpActor/utils/dotRoach.py", line 78, in parallelize flux = extractFlux.getWindowedFluxes(butler, dataId, File "/software/mhs/products/Linux64/ics_drpActor/0.5.1c/python/drpActor/utils/extractFlux.py", line 62, in getWindowedFluxes row0, row1 = md["W_CDROW0"], md["W_CDROWN"] [ ... ]
It blew up because PFSB files do not have the CCD-oriented W_CDROW0, W_CDROWN cards, but the problem is really that was trying at all. Should the processDotRoach command take a visit argument?