Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: faro
-
Labels:
-
Story Points:2
-
Epic Link:
-
Team:DM Science
-
Urgent?:No
Description
In the nightly CI job verify_drp_metrics, we just started seeing the following error in faro's catalog-matching routines:
ERROR 2021-11-02T19:49:13.513+00:00 ctrl.mpexec.singleQuantumExecutor (matchCatalogsPatchMultiBand:\{instrument: 'HSC', skymap: 'hsc_rings_v1', tract: 9813, patch: 40})(singleQuantumExecutor.py:176) - Execution of task 'matchCatalogsPatchMultiBand' on quantum \{instrument: 'HSC', skymap: 'hsc_rings_v1', tract: 9813, patch: 40} failed
|
|
File "/j/ws/sqre/verify_drp_metrics/hsc-master^faro-master/faro/python/lsst/faro/base/MatchedCatalogBase.py", line 256, in runQuantum
|
externalPhotoCalib = row[0].getPhotoCalib()
|
IndexError: index 0 is out of bounds for axis 0 with size 0
|
While it should never be the case that fgcm calib lookup returns no match, we should add a check to ensure that such cases don't cause failure.