-
Type: Task
-
Status: Done (View Workflow)
-
Priority: Normal
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
With the current master branch (equivalent to w.2024.27), mergeArms.py fails for any science visits with the following error. Please investigate and fix it.
INFO 2024-07-06T13:19:02.197-1000 root ()(cmdLineTask.py:685)- Running: /work/kiyoyabe/erun/run17/calibs/generateCalibs/20240701/src/drp_stella/bin/mergeArms.py /work/drp --calib /work/kiyoyabe/erun/run17/calibs/generateCalibs/20240701/CALIB-kiyoyabe-20240701 --rerun kiyoyabe/calibs/run17/20240701/test -j8 --longlog 1 --id visit=110995 ... INFO 2024-07-06T13:19:31.906-1000 mergeArms.fitSkyModel ([])(fitFocalPlane.py:127)- Fit focal plane function: chi^2=nan length=4176/4176 numSamples=92 numGood=383895 numBad=280 numRejected=17 INFO 2024-07-06T13:19:32.707-1000 mergeArms.fitSkyModel ([])(fitFocalPlane.py:127)- Fit focal plane function: chi^2=nan length=4176/4176 numSamples=92 numGood=382946 numBad=1141 numRejected=121 multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/cmdLineTask.py", line 436, in __call__ result = self.runTask(task, dataRef, kwargs) File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/cmdLineTask.py", line 504, in runTask return task.runDataRef(dataRef, **kwargs) File "/work/kiyoyabe/erun/run17/calibs/generateCalibs/20240701/src/drp_stella/python/pfs/drp/stella/mergeArms.py", line 342, in runDataRef results = self.run(spectra, pfsConfig, lsfList, fiberNorms) File "/work/kiyoyabe/erun/run17/calibs/generateCalibs/20240701/src/drp_stella/python/pfs/drp/stella/mergeArms.py", line 256, in run lsfList = [self.mergeLsfs(ll, ss) for ll, ss in zip(lsfList, spectra)] File "/work/kiyoyabe/erun/run17/calibs/generateCalibs/20240701/src/drp_stella/python/pfs/drp/stella/mergeArms.py", line 256, in <listcomp> lsfList = [self.mergeLsfs(ll, ss) for ll, ss in zip(lsfList, spectra)] File "/work/kiyoyabe/erun/run17/calibs/generateCalibs/20240701/src/drp_stella/python/pfs/drp/stella/mergeArms.py", line 513, in mergeLsfs warpedLsf[ff] = warpLsf(lsf.get(ff), spectra.wavelength[ii], wavelength) File "/work/kiyoyabe/erun/run17/calibs/generateCalibs/20240701/src/drp_stella/python/pfs/drp/stella/lsf.py", line 849, in warpLsf return GaussianLsf(outLength, outWidth) File "/work/kiyoyabe/erun/run17/calibs/generateCalibs/20240701/src/drp_stella/python/pfs/drp/stella/lsf.py", line 569, in __init__ self.kernel = GaussianKernel1D(width) File "/work/kiyoyabe/erun/run17/calibs/generateCalibs/20240701/src/drp_stella/python/pfs/drp/stella/lsf.py", line 538, in __init__ halfSize = int(width*nWidth + 0.5) ValueError: cannot convert float NaN to integer