Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-1010

reduceExposure fails with PFI calib and continuum subtraction

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      2DDRP-2022 C

      Description

      This is a follow-on from PIPE2D-993.

      When running reduceExposure from weekly w.2022.10 using SuNSS-based visits, against the calib CALIB-PFI-20211220 with continuum subtraction enabled:

      reduceExposure.py /projects/HSC/PFS/Subaru --calib /projects/HSC/PFS/Subaru/CALIB-PFI-20211220 --rerun=hassans/sunss/v71290_46588_pfi_20220322h --d
      oraise --id visit=46588^71290 arm=b^r -c isr.doApplyGains=True isr.doFlat=False isr.doWrite=True doSubtractSky2d=False photometerLines.doApertureCorrection=False doSubtractContinuum=True

      Fails with the following error:

      File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/drp_stella/w.2022.10/python/pfs/drp/stella/reduceExposure.py", line 306, in runDataRef
      maskedImage -= continua.makeImage(exposure.getBBox(), fiberTraces)
      File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/drp_stella/w.2022.10/python/pfs/drp/stella/SpectrumSetContinued.py", line 212, in makeImage
      spec = self[fiberIds.index(ft.fiberId)]
      ValueError: 2 is not in list

        Attachments

          Activity

            People

            • Assignee:
              hassan hassan
              Reporter:
              hassan hassan
              Reviewers:
              price
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: