<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:54:12 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-507] ConstructFiberFlat.py hangs against Subaru data</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-507</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;As reported by &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt; in the #commissioning slack channel, the fiber flat construction using recent SM1 data taken at Subaru hangs indefinitely.&lt;/p&gt;

&lt;p&gt;An example command invocation is as follows:&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;
constructFiberFlat.py $ROOT --calib $ROOT/CALIB --rerun calib0 --id visit=123..251:3 --batch-type=smp --cores 2 --doraise
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="14181">PIPE2D-507</key>
            <summary>ConstructFiberFlat.py hangs against Subaru data</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</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="hassan">hassan</assignee>
                                    <reporter username="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Jan 2020 04:13:26 +0000</created>
                <updated>Wed, 12 Feb 2020 17:29:36 +0000</updated>
                            <resolved>Wed, 12 Feb 2020 02:44:21 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="16623" author="hassan" created="Fri, 17 Jan 2020 04:28:52 +0000"  >&lt;p&gt;The cause of the hanging is the presence of NaN values in the postISRCCD image and variance arrays, that are subsequently passed to  the C++ function &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;findCenterPositionsOneTrace&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; and to the &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;MPFitGaussLim&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; fitting routine, which hangs.&lt;/p&gt;

&lt;p&gt;Replacing the NaN values in the images and variance arrays with non-NaN values seems to fix the problem, but further investigation is required. &lt;/p&gt;

&lt;p&gt;The cause of the NaN values appearing in the postISRCCD image data also needs to be investigated (most likely as a separate ticket).&lt;/p&gt;

&lt;p&gt;As a fix is needed in order for the LAM team to process Subaru data effectively, a workaround is being developed.&lt;/p&gt;</comment>
                            <comment id="16624" author="hassan" created="Fri, 17 Jan 2020 04:45:04 +0000"  >&lt;p&gt;In should be noted that the image mask flags pixels with NaN values correctly, however the &lt;tt&gt;findCenterPositionsOneTrace&lt;/tt&gt; code does not use those mask arrays currently.&lt;/p&gt;

&lt;p&gt;Also note that after a temporary fix to the NaN values describe in the earlier comment, the presence of (close to) zero values in the variance array causes a subsequent exception in the C++ &lt;tt&gt;CurveFitting::fitProfile1d&lt;/tt&gt; function. This is also being investigated and a fix is expected soon.&lt;/p&gt;</comment>
                            <comment id="16628" author="rhl" created="Fri, 17 Jan 2020 13:03:52 +0000"  >&lt;p&gt;Did you run the standard replace-NaNs code, or do something else?  When you look at the images, does something jump out at you about which pixels have NaNs?  The images can&apos;t &lt;img class=&quot;emoticon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/emoticons/help_16.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; have NaNs unless there is some problem in the calibration frame; you should check that too&lt;/p&gt;</comment>
                            <comment id="16629" author="price" created="Fri, 17 Jan 2020 13:09:59 +0000"  >&lt;p&gt;I believe this is fixed on &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-391&quot; title=&quot;Generate fiberTraces from odd/even flats&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-391&quot;&gt;&lt;del&gt;PIPE2D-391&lt;/del&gt;&lt;/a&gt;, which is ready for merge but blocked by conflicts that I need to sort out. I suggest that in the mean time, we cherry-pick the fix from &lt;a href=&quot;https://github.com/Subaru-PFS/obs_pfs/commit/557621242a6ec27d9edd0d9cce1da6df833b3d48&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;obs_pfs&lt;/a&gt; and &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/85/commits/bfd9a2cec18c0796e674d30b73fc5de420d12dff&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;drp_stella&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="16647" author="hassan" created="Tue, 28 Jan 2020 23:49:00 +0000"  >&lt;p&gt;Fix implemented based on changes to drp_stella originally put forward by P Price in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-391&quot; title=&quot;Generate fiberTraces from odd/even flats&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-391&quot;&gt;&lt;del&gt;PIPE2D-391&lt;/del&gt;&lt;/a&gt;, plus variance plane update.&lt;br/&gt;
Added additional fix to low variance values, that are not masked. These are set according to a config parameter &lt;tt&gt;minVarRN&lt;/tt&gt;, which defines the minimum variance in units of the appropriate amplifier read-out noise. &lt;/p&gt;</comment>
                            <comment id="16650" author="price" created="Wed, 29 Jan 2020 20:31:56 +0000"  >&lt;p&gt;Minor issues reported on the GitHub PR.&lt;/p&gt;</comment>
                            <comment id="16712" author="hassan" created="Wed, 12 Feb 2020 02:44:21 +0000"  >&lt;p&gt;Fix merged to master. &lt;br/&gt;
Separate related problems (eg &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-512&quot; title=&quot;ReduceArc.py fails on Subaru data using recent bootstrapped detectormap&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-512&quot;&gt;&lt;del&gt;PIPE2D-512&lt;/del&gt;&lt;/a&gt;) will be addressed in separate tickets.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="14017">PIPE2D-481</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="14203">PIPE2D-512</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|zzs0lr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="73">2DDRP-2020 A</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>