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

Natively support IIS in reduceExposure

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Story Points:
      1
    • Sprint:
      EngRun16May, EngRun17May_June

      Description

      Kiyoto Yabe reports that he's not able to reduce IIS data, using regular option.

      the command fails with :

      INFO  2024-04-30T16:04:12.936-1000 root ()(cmdLineTask.py:685)- Running: /work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/drp_stella/w.2024.17/bin/reduceExposure.py /work/drp --calib=/work/drp/CALIB --rerun=kiyoyabe/calibs/run16/check_\
      iis_data --longlog=1 -j8 --id visit=109157 arm=r spectrograph=1 --config isr.doWrite=False doApplyFiberNorms=False
      
      ...
      
      INFO  2024-04-30T16:05:10.231-1000 reduceExposure.readLineList ({'visit': 109157, 'arm': 'r', 'spectrograph': 1, 'dateObs': '2024-04-21', 'site': 'S', 'category': 'A', 'field': 'COMPARISON', 'ccd': 1, 'filter': 'r', 'expTime': 1.0, 'dataType': 'COMPA\
      RISON', 'taiObs': '2024-04-21T07:04:50.974', 'pfsDesignId': 6813439830931415670, 'slitOffset': 0.0})(readLineList.py:192)- Filtered line lists ['NeI'] by {'Ne_eng'}, keeping species {'NeI'}.
      FATAL 2024-04-30T16:05:10.372-1000 reduceExposure ({'visit': 109157, 'arm': 'r', 'spectrograph': 1, 'dateObs': '2024-04-21', 'site': 'S', 'category': 'A', 'field': 'COMPARISON', 'ccd': 1, 'filter': 'r', 'expTime': 1.0, 'dataType': 'COMPARISON', 'taiO\
      bs': '2024-04-21T07:04:50.974', 'pfsDesignId': 6813439830931415670, 'slitOffset': 0.0})(cmdLineTask.py:446)- Failed on dataId={'visit': 109157, 'arm': 'r', 'spectrograph': 1, 'dateObs': '2024-04-21', 'site': 'S', 'category': 'A', 'field': 'COMPARISON\
      ', 'ccd': 1, 'filter': 'r', 'expTime': 1.0, 'dataType': 'COMPARISON', 'taiObs': '2024-04-21T07:04:50.974', 'pfsDesignId': 6813439830931415670, 'slitOffset': 0.0}: RuntimeError: Selection {'spectrograph': 1, 'targetType': [<TargetType.SCIENCE: 1>, <Ta\
      rgetType.SKY: 2>, <TargetType.FLUXSTD: 3>, <TargetType.UNASSIGNED: 4>, <TargetType.SUNSS_IMAGING: 6>, <TargetType.SUNSS_DIFFUSE: 7>, <TargetType.DCB: 8>, <TargetType.HOME: 9>, <TargetType.BLACKSPOT: 10>, <TargetType.AFL: 11>]} returns no fibres for d\
      ataId 109157 r1}
      Traceback (most recent call last):
        File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/cmdLineTask.py", line 436, in __call__
          result = self.runTask(task, dataRef, kwargs)
        File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/cmdLineTask.py", line 504, in runTask
          return task.runDataRef(dataRef, **kwargs)
        File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/drp_stella/w.2024.17/python/pfs/drp/stella/reduceExposure.py", line 297, in runDataRef
          calibs = self.getSpectralCalibs(sensorRef, exposure, pfsConfig, boxcarWidth)
        File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/drp_stella/w.2024.17/python/pfs/drp/stella/reduceExposure.py", line 531, in getSpectralCalibs
          raise RuntimeError(f"Selection {kwargs} returns no fibres for dataId "
      RuntimeError: Selection {'spectrograph': 1, 'targetType': [<TargetType.SCIENCE: 1>, <TargetType.SKY: 2>, <TargetType.FLUXSTD: 3>, <TargetType.UNASSIGNED: 4>, <TargetType.SUNSS_IMAGING: 6>, <TargetType.SUNSS_DIFFUSE: 7>, <TargetType.DCB: 8>, <TargetTy\
      pe.HOME: 9>, <TargetType.BLACKSPOT: 10>, <TargetType.AFL: 11>]} returns no fibres for dataId 109157 r1}

      It looks like TargetType.ENGINEERING is not included, and no illuminated fibers is found.

        Attachments

          Activity

            People

            • Assignee:
              rhl rhl
              Reporter:
              arnaud.lefur arnaud.lefur
              Reviewers:
              arnaud.lefur
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: