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

Fix error when external calibs are not found

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: faro
    • Labels:

      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

          jcarlin Jeffrey Carlin created issue -
          jcarlin Jeffrey Carlin made changes -
          Field Original Value New Value
          Status To Do [ 10001 ] In Progress [ 3 ]
          tjenness Tim Jenness made changes -
          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.
          In the nightly CI job verify_drp_metrics, we just started seeing the following error in faro's catalog-matching routines:

          {code}
          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
          {code}

          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.
          jcarlin Jeffrey Carlin made changes -
          Reviewers Keith Bechtol [ kbechtol ]
          Status In Progress [ 3 ] In Review [ 10004 ]
          kbechtol Keith Bechtol made changes -
          Status In Review [ 10004 ] Reviewed [ 10101 ]
          jcarlin Jeffrey Carlin made changes -
          Resolution Done [ 10000 ]
          Status Reviewed [ 10101 ] Done [ 10002 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.