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

ForcedPhotCcdTask in PipelineTask mode needs to accept references from multiple patches

    XMLWordPrintable

    Details

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

      Description

      Running ForcedPhotCcdTask on RC2 via PipelineTask yields lots of the following warnings:

      lsst.pipe.base.pipelineTask.ScalarError: Expected scalar for output dataset field refCat, received 4 DataIds 

      This is because the task is currently written to assume that any CCD overlaps at most one patch, which is quite untrue outside of the ci_hsc dataset this task had (until recently) only ever been tested on.

      Solution appears to be to have adaptArgsAndRun read multiple catalogs, concatenate them, and probably call filterReferences.

        Attachments

          Activity

          Hide
          nlust Nate Lust added a comment -

          This has passed ci_hsc for both gen2 and gen3, as well has having ForcedPhot* run over multiple patches using the batch production system on gen3 repos.

          Show
          nlust Nate Lust added a comment - This has passed ci_hsc for both gen2 and gen3, as well has having ForcedPhot* run over multiple patches using the batch production system on gen3 repos.
          Hide
          czw Christopher Waters added a comment -

          Comments on the PR are mainly style/docstring issues.

          Show
          czw Christopher Waters added a comment - Comments on the PR are mainly style/docstring issues.

            People

            Assignee:
            nlust Nate Lust
            Reporter:
            jbosch Jim Bosch
            Reviewers:
            Christopher Waters
            Watchers:
            Christopher Waters, Dino Bektesevic, Hsin-Fang Chiang, Jim Bosch, Michelle Gower, Nate Lust
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.