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

Fix multiple patch catalog sorting for forcedPhotCcd.py

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_base
    • Labels:
      None

      Description

      forcedPhotCcd.py is currently broken due to the requirement of the lsst.afw.table.getChildren() function that the SourceCatalog is sorted by the parent key (i.e. lsst.afw.table.SourceTable.getParentKey()). This occurs naturally in the case of SourceCatalogs produced by the detection and deblending tasks, but it may not be true when concatenating multiple such catalogs. This is indeed the case for forcedPhotCcd.py as a given CCD can be overlapped by multiple patches, thus requiring a concatenation of the reference catalogs of all overlapping patches.

      There two places in the running of forcedPhotCcd.py where calls to getChildren() can cause a failure: one in the subset() function in references.py, and the other in the run function of SingleFrameMeasurementTask in sfm.py.

        Attachments

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              lauren Lauren MacArthur
              Reporter:
              lauren Lauren MacArthur
              Reviewers:
              Paul Price
              Watchers:
              Lauren MacArthur, Paul Price
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel