<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:06: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-1322] Inability to fit aperture corrections can lead to reduceExposure.py failing</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1322</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;When running &lt;tt&gt;reduceExposure.py&lt;/tt&gt; with &lt;tt&gt;doMeasureLines=True&lt;/tt&gt;, an apparent failure to measure aperture corrections leads to the processing failing.  In many cases I don&apos;t care about the photometry (e.g. if I&apos;m looking at focal plane distortions).  For now setting the appCorr to &lt;tt&gt;NaN&lt;/tt&gt; and proceeding might be acceptable.  Setting the aperture correction to 1.0 would require that we signal this failure to the user in some other way.&lt;/p&gt;

&lt;p&gt;E.g. the command&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 /work/drp --calib /work/drp/CALIB --rerun rhl/calibrations-2023-07-v6 -c isr.doFlat=False isr.doFlatNir=True isr.doDark=False useCalexp=True doAdjustDetectorMap=False doMeasureLines=True --id visit=96958 arm=r spectrograph=1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;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;
reduceExposure FATAL: Failed on dataId={&lt;span class=&quot;code-quote&quot;&gt;&apos;visit&apos;&lt;/span&gt;: 96958, &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;2023-07-20&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_EN1_P1_PA_90&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;: 60.0, &lt;span class=&quot;code-quote&quot;&gt;&apos;dataType&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;COMPARISON&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;2023-07-20T09:52:52.553&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;pfsDesignId&apos;&lt;/span&gt;: 1562097688427952981, &lt;span class=&quot;code-quote&quot;&gt;&apos;slitOffset&apos;&lt;/span&gt;: 0.0}: RuntimeError: No good points
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 277, in runDataRef
    calibs = self.getSpectralCalibs(sensorRef, exposure, pfsConfig, boxcarWidth)
  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 599, in getSpectralCalibs
    phot = self.photometerLines.run(exposure, lines[notTrace], detectorMap, pfsConfig, fiberTraces)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/photometerLines.py&quot;&lt;/span&gt;, line 99, in run
    phot = self.photometerLines(exposure, referenceLines, detectorMap, pfsConfig, fiberTraces)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/photometerLines.py&quot;&lt;/span&gt;, line 177, in photometerLines
    apCorr = self.apertureCorrection.run(exposure, pfsConfig, detectorMap, lines)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/apertureCorrections.py&quot;&lt;/span&gt;, line 125, in run
    apCorr = self.fit.run(corrections, pfsConfig, minWavelength=minWavelength,
  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 109, in run
    raise RuntimeError(&lt;span class=&quot;code-quote&quot;&gt;&quot;No good points&quot;&lt;/span&gt;)
RuntimeError: No good points
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="24094">PIPE2D-1322</key>
            <summary>Inability to fit aperture corrections can lead to reduceExposure.py failing</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, 25 Oct 2023 22:31:28 +0000</created>
                <updated>Thu, 26 Oct 2023 21:30:52 +0000</updated>
                            <resolved>Thu, 26 Oct 2023 21:30:52 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="35639" author="rhl" created="Wed, 25 Oct 2023 22:56:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/338&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/drp_stella/pull/338&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="35640" author="kiyoto.yabe" created="Wed, 25 Oct 2023 23:54:32 +0000"  >&lt;p&gt;What is the relation to &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1119&quot; title=&quot;No good points in aperture correction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1119&quot;&gt;PIPE2D-1119&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="35642" author="rhl" created="Thu, 26 Oct 2023 07:25:30 +0000"  >&lt;p&gt;Good question!  The answer is that I&apos;d forgotten that that ticket existed as it hadn&apos;t been fixed.&lt;/p&gt;

&lt;p&gt;One of these needs to be closed.  I can push the fix to this one, and note that a better solution is still expected to come from &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1119&quot; title=&quot;No good points in aperture correction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1119&quot;&gt;PIPE2D-1119&lt;/a&gt;.  But we need a fix; I did it today to support the calibration QA work that Wilfred is doing.&lt;/p&gt;</comment>
                            <comment id="35645" author="rhl" created="Thu, 26 Oct 2023 21:30:52 +0000"  >&lt;p&gt;Merged to master&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="23134">PIPE2D-1119</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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|zzt04v:</customfieldvalue>

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