Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-32449

Fix error when external calibs are not found

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • faro

    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.

      Attachments

        Activity

          This work was accomplished by https://github.com/lsst/faro/pull/112.

          kbechtol Keith Bechtol added a comment - This work was accomplished by https://github.com/lsst/faro/pull/112 .

          People

            jcarlin Jeffrey Carlin
            jcarlin Jeffrey Carlin
            Keith Bechtol
            Jeffrey Carlin, Keith Bechtol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Jenkins

                No builds found.