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

Spline error in 1-D sky subtraction

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Christian Kragh Jespersen reports that processing `72034 r1` gives this traceback, ending in Failed to initialise spline for type akima, length 4.

      reduceExposure.py /projects/HSC/PFS/Subaru --calib /projects/HSC/PFS/Subaru/CALIB-PFI-20211220/ --rerun ckj/moon3_250522 --id visit=72034 arm=r -c isr.doFlat=False isr.doApplyGains=True photometerLines.doSubtractLines=True photometerLines.continuum.numKnots=100 photometerLines.continuum.maskLineRadius=2 doSubtractContinuum=True fitContinuum.numKnots=100 fitContinuum.maskLineRadius=2 -j 20
      
      "/projects/HSC/PFS/stack/20220525/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 "/projects/HSC/PFS/stack/20220525/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 "/projects/HSC/PFS/stack/20220525/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/drp_stella/merge-20220525/python/pfs/drp/stella/reduceExposure.py", line 305, in runDataRef
        continua = self.fitContinuum.run(spectra)
       File "/projects/HSC/PFS/stack/20220525/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/drp_stella/merge-20220525/python/pfs/drp/stella/fitContinuum.py", line 76, in run
        result = self.fitContinuum(spec, lines)
       File "/projects/HSC/PFS/stack/20220525/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/drp_stella/merge-20220525/python/pfs/drp/stella/fitContinuum.py", line 122, in fitContinuum
        return self._fitContinuumImpl(flux, good & keep)
       File "/projects/HSC/PFS/stack/20220525/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/drp_stella/merge-20220525/python/pfs/drp/stella/fitContinuum.py", line 149, in _fitContinuumImpl
        interp = makeInterpolate(knots[use], binned[use], self.fitType)
      lsst.pex.exceptions.wrappers.OutOfRangeError:
       File "src/math/Interpolate.cc", line 202, in lsst::afw::math::InterpolateGsl::InterpolateGsl(const std::vector<double>&, const std::vector<double>&, lsst::afw::math::Interpolate::Style)
        Failed to initialise spline for type akima, length 4 {0}
      lsst::pex::exceptions::OutOfRangeError: 'Failed to initialise spline for type akima, length 4'
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: