<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:02:01 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[PIPE2D-1047] Spline error in 1-D sky subtraction</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1047</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cj1223&quot; class=&quot;user-hover&quot; rel=&quot;cj1223&quot;&gt;Christian Kragh Jespersen&lt;/a&gt; reports that processing `72034 r1` gives this traceback, ending in &lt;tt&gt;Failed to initialise spline for type akima, length 4&lt;/tt&gt;.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
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
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-quote&quot;&gt;&quot;/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&quot;&lt;/span&gt;, line 436, in __call__
  result = self.runTask(task, dataRef, kwargs)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/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&quot;&lt;/span&gt;, line 504, in runTask
  &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; task.runDataRef(dataRef, **kwargs)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/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&quot;&lt;/span&gt;, line 305, in runDataRef
  continua = self.fitContinuum.run(spectra)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/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&quot;&lt;/span&gt;, line 76, in run
  result = self.fitContinuum(spec, lines)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/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&quot;&lt;/span&gt;, line 122, in fitContinuum
  &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; self._fitContinuumImpl(flux, good &amp;amp; keep)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/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&quot;&lt;/span&gt;, line 149, in _fitContinuumImpl
  interp = makeInterpolate(knots[use], binned[use], self.fitType)
lsst.pex.exceptions.wrappers.OutOfRangeError:
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;src/math/Interpolate.cc&quot;&lt;/span&gt;, line 202, in lsst::afw::math::InterpolateGsl::InterpolateGsl(&lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; std::vector&amp;lt;&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;&amp;gt;&amp;amp;, &lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; std::vector&amp;lt;&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;&amp;gt;&amp;amp;, lsst::afw::math::Interpolate::Style)
  Failed to initialise spline &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; type akima, length 4 {0}
lsst::pex::exceptions::OutOfRangeError: &lt;span class=&quot;code-quote&quot;&gt;&apos;Failed to initialise spline &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; type akima, length 4&apos;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="22801">PIPE2D-1047</key>
            <summary>Spline error in 1-D sky subtraction</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="price">price</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 May 2022 20:05:42 +0000</created>
                <updated>Thu, 2 Jun 2022 14:34:56 +0000</updated>
                            <resolved>Thu, 2 Jun 2022 14:34:56 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="30968" author="price" created="Wed, 1 Jun 2022 21:35:37 +0000"  >&lt;p&gt;Some NANs in the photometry were messing up the spectra due to &lt;tt&gt;photometerLines.doSubtractLines=True&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="30970" author="hassan" created="Thu, 2 Jun 2022 02:36:42 +0000"  >&lt;p&gt;Changes in PR &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/271&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/drp_stella/pull/271&lt;/a&gt; look fine. Tested changes by repeating above &lt;tt&gt;reduceExposure&lt;/tt&gt; run. Run completed with no errors. &lt;/p&gt;</comment>
                            <comment id="30971" author="hassan" created="Thu, 2 Jun 2022 02:43:41 +0000"  >&lt;p&gt;However, not sure of quality of extracted spectra. See &apos;spectral image&apos; generated from the &lt;tt&gt;showAllSpectraAsImage&lt;/tt&gt; utility using the `pfsArm` product  &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15203_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15203/15203_Screen+Shot+2022-06-01+at+10.37.11+PM.png&quot; title=&quot;Screen Shot 2022-06-01 at 10.37.11 PM.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15203&quot; file-preview-title=&quot;Screen Shot 2022-06-01 at 10.37.11 PM.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15203/_thumb_15203.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; .As the original spline error as been addressed, I consider this ticket as reviewed, and the above might be better tracked in a separate ticket.&lt;/p&gt;</comment>
                            <comment id="30972" author="price" created="Thu, 2 Jun 2022 14:33:31 +0000"  >&lt;p&gt;The extracted spectra look weird because the configuration options include both subtracting the continuum (&lt;tt&gt;doSubtractContinuum=True&lt;/tt&gt;) and subtracting the sky emission lines (&lt;tt&gt;photometerLines.doSubtractLines=True&lt;/tt&gt;).&lt;/p&gt;</comment>
                            <comment id="30973" author="price" created="Thu, 2 Jun 2022 14:34:56 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15203" name="Screen Shot 2022-06-01 at 10.37.11 PM.png" size="1459136" author="hassan" created="Thu, 2 Jun 2022 02:37:37 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qpjd:00xznup2c</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>hassan</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>