<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:03:48 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-1174] DummySubtractSky2dTask is broken</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1174</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;With the config overrides:&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;
from pfs.drp.stella.subtractSky2d &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; DummySubtractSky2dTask
config.subtractSky2d.retarget(DummySubtractSky2dTask)
config.doSubtractSky2d = True&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;reduceExposure.py fails with:&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;
   File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/reduceExposure.py&quot;&lt;/span&gt;, line 289, in runDataRef
    skyResults = self.subtractSky2d.run(exposureList, pfsConfig, psfList,
TypeError: run() takes 7 positional arguments but 8 were given&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is due to the missing &lt;tt&gt;apCorrList&lt;/tt&gt; argument.   Fixing this, however, results in:&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 FATAL: Failed on dataIds=[{&lt;span class=&quot;code-quote&quot;&gt;&apos;visit&apos;&lt;/span&gt;: 83244, &lt;span class=&quot;code-quote&quot;&gt;&apos;arm&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;r&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;spectrograph&apos;&lt;/span&gt;: 1, &lt;span class=&quot;code-quote&quot;&gt;&apos;dateObs&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;2022-11-21&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;site&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;S&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;category&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;A&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;field&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;GE_RUN08_COS1&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;ccd&apos;&lt;/span&gt;: 1, &lt;span class=&quot;code-quote&quot;&gt;&apos;filter&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;r&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;expTime&apos;&lt;/span&gt;: 900.002, &lt;span class=&quot;code-quote&quot;&gt;&apos;dataType&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;OBJECT&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;taiObs&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;2022-11-21T13:31:03.689&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;pfsDesignId&apos;&lt;/span&gt;: 6957882023119077138, &lt;span class=&quot;code-quote&quot;&gt;&apos;slitOffset&apos;&lt;/span&gt;: 0.0}]: RuntimeError: Length mismatch between spectra (139) and pfsConfig (500)
Traceback (most recent call last):
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/stack_INFRA-312/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;/work/stack_INFRA-312/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;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/reduceExposure.py&quot;&lt;/span&gt;, line 289, in runDataRef
    skyResults = self.subtractSky2d.run(exposureList, pfsConfig, psfList,
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/subtractSky2d.py&quot;&lt;/span&gt;, line 360, in run
    imageList.append(self.runSingle(exp, pfsConfig, skyFibers, ft, detMap))
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/subtractSky2d.py&quot;&lt;/span&gt;, line 395, in runSingle
    sky1d = self.fitSkyModel.run(spectra.toPfsArm(dataId).select(pfsConfig, fiberId=skyFibers),
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/fitFocalPlane.py&quot;&lt;/span&gt;, line 95, in run
    func = self.Function.fit(spectra, pfsConfig, self.config.mask, rejected=rejected, robust=True,
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/focalPlaneFunction.py&quot;&lt;/span&gt;, line 105, in fit
    raise RuntimeError(
RuntimeError: Length mismatch between spectra (139) and pfsConfig (500)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="23272">PIPE2D-1174</key>
            <summary>DummySubtractSky2dTask is broken</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="-1">Unassigned</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Mar 2023 04:53:16 +0000</created>
                <updated>Fri, 3 Mar 2023 16:57:26 +0000</updated>
                            <resolved>Fri, 3 Mar 2023 16:57:26 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="32328" author="price" created="Wed, 1 Mar 2023 22:27:36 +0000"  >&lt;p&gt;Fixed the bitrot, and this works again.&lt;/p&gt;</comment>
                            <comment id="32332" author="rhl" created="Thu, 2 Mar 2023 05:38:14 +0000"  >&lt;p&gt;It runs! &#160;Thanks, but the results are not very nice. &#160;Is the normalisation correct:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15551_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15551/15551_Figure+1+%2848%29.png&quot; title=&quot;Figure 1 (48).png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15551&quot; file-preview-title=&quot;Figure 1 (48).png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15551/_thumb_15551.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="32339" author="price" created="Fri, 3 Mar 2023 16:57:26 +0000"  >&lt;p&gt;I think the problems seen in that image reflect problems in the sky subtraction. I fixed the normalisation as part of this ticket (without the correct normalisation, no sky subtraction was evident in the image at all).&lt;/p&gt;

&lt;p&gt;Merged.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15551" name="Figure 1 (48).png" size="1398075" author="rhl" created="Thu, 2 Mar 2023 05: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|zzswbr:</customfieldvalue>

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