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

Trivial SkyWcs differences prevent CModel from running

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: meas_modelfit
    • Labels:
      None
    • Templates:
    • Team:
      Data Release Production

      Description

      Jean Coupon reports:

      I'm trying to re-run the multiband process on existing HSC bands (no emulated data), but I get the following error:

      Traceback (most recent call last):
        File "/Users/coupon/local/source/hscPipe6/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/pipe_base/6.0-hsc+2/python/lsst/pipe/base/cmdLineTask.py", line 408, in __call__
          result = task.run(dataRef, **kwargs)
        File "/Users/coupon/local/source/hscPipe6/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/meas_base/6.2-hsc+1/python/lsst/meas/base/forcedPhotImage.py", line 164, in run
          self.measurement.run(measCat, exposure, refCat, refWcs, exposureId=self.getExposureId(dataRef))
        File "/Users/coupon/local/source/hscPipe6/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/meas_base/6.2-hsc+1/python/lsst/meas/base/forcedMeasurement.py", line 356, in run
          beginOrder=beginOrder, endOrder=endOrder)
        File "/Users/coupon/local/source/hscPipe6/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/meas_base/6.2-hsc+1/python/lsst/meas/base/baseMeasurement.py", line 282, in callMeasure
          self.doMeasurement(plugin, measRecord, *args, **kwds)
        File "/Users/coupon/local/source/hscPipe6/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/meas_base/6.2-hsc+1/python/lsst/meas/base/baseMeasurement.py", line 301, in doMeasurement
          plugin.measure(measRecord, *args, **kwds)
        File "/Users/coupon/local/source/hscPipe6/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/meas_modelfit/6.0b6-hsc+6/python/lsst/meas/modelfit/cmodel/cmodelContinued.py", line 106, in measure
          "CModel forced measurement currently requires the measurement image to have the same"
      lsst.pex.exceptions.wrappers.FatalAlgorithmError: CModel forced measurement currently requires the measurement image to have the same Wcs as the reference catalog (this is a temporary limitation).
      

      There are trivial differences in the SkyWcs objects being compared, probably because of numerical issues (the SkyWcs from the image coming from a Linux machine, and the SkyWcs from the skymap coming from an OSX machine). This suggests the comparison needs to be looser, somehow. Perhaps just testing the local CD matrix is identical to within some small tolerance would work?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              price Paul Price
              Watchers:
              Jeffrey Carlin, Jim Bosch, John Swinbank, Paul Price
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel