<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:52:27 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-375] Investigate reduceArc failures on recent LAM data</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-375</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=ncaplar&quot; class=&quot;user-hover&quot; rel=&quot;ncaplar&quot;&gt;ncaplar&lt;/a&gt; reports problems running &lt;tt&gt;reduceArc.py&lt;/tt&gt; on recent LAM data:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Raw data in &lt;tt&gt;/tigress/HSC/PFS/LAM/raw/2019-02-02&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;bias=11835..11849, dark=11850..11879, ditheredflats=11535..11663:3, flats=11530..11534, science=11664..11834&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;reduceArc.py $TARGET --calib $TARGET/CALIB --rerun $RERUN/arc --id visit=11748 -j $CORES --config reduceExposure.doSubtractContinuum=True reduceExposure.doWriteCalexp=True&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;The numbers are deduced by looking at &lt;a href=&quot;https://people.lam.fr/madec.fabrice/pfs/ait_logbook_SM1.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://people.lam.fr/madec.fabrice/pfs/ait_logbook_SM1.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;It&apos;s possible that &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-319&quot; title=&quot;Make line identification robust against wavelength shifts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-319&quot;&gt;&lt;del&gt;PIPE2D-319&lt;/del&gt;&lt;/a&gt; fixes this without any further effort.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13373">PIPE2D-375</key>
            <summary>Investigate reduceArc failures on recent LAM 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="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="price">price</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Feb 2019 23:10:16 +0000</created>
                <updated>Thu, 14 Mar 2019 18:36:45 +0000</updated>
                            <resolved>Thu, 14 Mar 2019 17:01:48 +0000</resolved>
                                                    <fixVersion>6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="15003" author="ncaplar" created="Thu, 21 Feb 2019 23:29:03 +0000"  >&lt;p&gt;note that science data=11664..11834 is the whole defocused sequence - I am not sure if the code can handle defocused data? Use 11748 for data in the focus (which is the &lt;tt&gt;visit&lt;/tt&gt; in the &lt;tt&gt;reduceArc.py&lt;/tt&gt;).&lt;/p&gt;</comment>
                            <comment id="15027" author="price" created="Wed, 27 Feb 2019 20:17:41 +0000"  >&lt;p&gt;After a bunch of mucking around with ingesting images on the cluster, I ran the following:&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;
constructBias.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --rerun price/pipe2d-375/bias --cores 16 --job bias --id visit=11835..11849
ingestCalibs.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --validity 3000 /tigress/HSC/PFS/LAM/rerun/price/pipe2d-375/bias/BIAS/pfsBias-2019-02-02-0-r1.fits
constructDark.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --rerun price/pipe2d-375/dark --cores 16 --job dark --id visit=11850..11879
ingestCalibs.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --validity 3000 /tigress/HSC/PFS/LAM/rerun/price/pipe2d-375/dark/DARK/pfsDark-2019-02-02-0-r1.fits
ingestCalibs.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --validity 3000 /tigress/pprice/drp_stella_data/raw/detectorMap-sim-1-r.fits --mode=copy
constructFiberFlat.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --rerun price/pipe2d-375/flat --cores 16 --job flat --id visit=11535..11663:3
ingestCalibs.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --validity 3000 /tigress/HSC/PFS/LAM/rerun/price/pipe2d-375/flat/FLAT/pfsFiberFlat-2019-02-01-011535-r1.fits
constructFiberTrace.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --rerun price/pipe2d-375/fiberTrace --cores 1 --job fiberTrace --id visit=11530
ingestCalibs.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --validity 3000 /tigress/HSC/PFS/LAM/rerun/price/pipe2d-375/fiberTrace/FIBERTRACE/pfsFiberTrace-2019-02-01-011530-r1.fits

reduceArc.py /tigress/HSC/PFS/LAM --calib /tigress/HSC/PFS/LAM/CALIB --rerun price/pipe2d-375/arc --id visit=11748 --config reduceExposure.doSubtractContinuum=True reduceExposure.doWriteCalexp=True
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;That last one fails with the following error:&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;
reduceArc FATAL: Failed on dataId={&lt;span class=&quot;code-quote&quot;&gt;&apos;visit&apos;&lt;/span&gt;: 11748, &lt;span class=&quot;code-quote&quot;&gt;&apos;dateObs&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;2019-02-02&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;L&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;expId&apos;&lt;/span&gt;: 11748, &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;field&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;ARC&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;: 14.998, &lt;span class=&quot;code-quote&quot;&gt;&apos;dataType&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;arc&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;2019-02-02&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;pfiDesignId&apos;&lt;/span&gt;: 0, &lt;span class=&quot;code-quote&quot;&gt;&apos;slitOffset&apos;&lt;/span&gt;: 0.0}: AssertionError: Monotonic
Traceback (most recent call last):
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/tigress/HSC/PFS/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0+1/python/lsst/pipe/base/cmdLineTask.py&quot;&lt;/span&gt;, line 392, in __call__
    result = task.run(dataRef, **kwargs)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/tigress/HSC/PFS/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/drp_stella/5.0/python/pfs/drp/stella/reduceArcTask.py&quot;&lt;/span&gt;, line 146, in run
    results = self.reduceExposure.run([dataRef])
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/tigress/HSC/PFS/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/drp_stella/5.0/python/pfs/drp/stella/reduceExposure.py&quot;&lt;/span&gt;, line 220, in run
    continua = self.fitContinuum.run(spectra)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/tigress/HSC/PFS/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/drp_stella/5.0/python/pfs/drp/stella/fitContinuum.py&quot;&lt;/span&gt;, line 64, in run
    continuum = self.wrapArray(self.fitContinuum(spec), spec.fiberId)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/tigress/HSC/PFS/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/drp_stella/5.0/python/pfs/drp/stella/fitContinuum.py&quot;&lt;/span&gt;, line 86, in fitContinuum
    good = self.maskLines(spectrum)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/tigress/HSC/PFS/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/drp_stella/5.0/python/pfs/drp/stella/fitContinuum.py&quot;&lt;/span&gt;, line 186, in maskLines
    &lt;span class=&quot;code-keyword&quot;&gt;assert&lt;/span&gt; np.all(delta &amp;gt;= 0) or np.all(delta &amp;lt;= 0), &lt;span class=&quot;code-quote&quot;&gt;&quot;Monotonic&quot;&lt;/span&gt;
AssertionError: Monotonic
reduceArc FATAL: Failed to process at least one of the components
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="15036" author="price" created="Thu, 28 Feb 2019 19:48:51 +0000"  >&lt;p&gt;I found a couple of problems.&lt;/p&gt;

&lt;p&gt;First, this needs an updated detectorMap (I believe the above error is caused by using one I&apos;ve over-tuned, and is non-monotonic at the very ends). I&apos;ve generated new detectorMaps from the simulator, and will put them into drp_stella_data as part of the &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/SIM2D-94&quot; title=&quot;Simulator should accept a PfsConfig instance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SIM2D-94&quot;&gt;&lt;del&gt;SIM2D-94&lt;/del&gt;&lt;/a&gt;/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/SIM2D-99&quot; title=&quot;Build blue-arm data in simulator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SIM2D-99&quot;&gt;&lt;del&gt;SIM2D-99&lt;/del&gt;&lt;/a&gt;/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-344&quot; title=&quot;Implement arm merging&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-344&quot;&gt;&lt;del&gt;PIPE2D-344&lt;/del&gt;&lt;/a&gt;/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-316&quot; title=&quot;Demonstrate arm merging&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-316&quot;&gt;&lt;del&gt;PIPE2D-316&lt;/del&gt;&lt;/a&gt; effort.&lt;/p&gt;

&lt;p&gt;Next, the list of reference lines was incredibly sparse (one or two) because the line list reading code thresholds on the intensity in the NIST list, and the threshold was set over most of the lines. Dropping the threshold, we get lots of lines.&lt;/p&gt;

&lt;p&gt;Once that was sorted, I tried both the vanilla line identification and the new one on &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-319&quot; title=&quot;Make line identification robust against wavelength shifts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-319&quot;&gt;&lt;del&gt;PIPE2D-319&lt;/del&gt;&lt;/a&gt;. I found that the vanilla version is far superior in terms of the number of lines found and the RMS. I believe this is due to the enormous number of Hg lines, many of which are pretty close to each other; I had previously tested &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-319&quot; title=&quot;Make line identification robust against wavelength shifts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-319&quot;&gt;&lt;del&gt;PIPE2D-319&lt;/del&gt;&lt;/a&gt; with Ne.&lt;/p&gt;</comment>
                            <comment id="15090" author="price" created="Fri, 8 Mar 2019 17:34:36 +0000"  >&lt;p&gt;This works with the changes on &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-316&quot; title=&quot;Demonstrate arm merging&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-316&quot;&gt;&lt;del&gt;PIPE2D-316&lt;/del&gt;&lt;/a&gt; (which should be merged soon; note: vanilla line identification algorithm) and the fixed detectorMap if you specify &lt;tt&gt;--config minArcLineIntensity=0&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="15091" author="ncaplar" created="Fri, 8 Mar 2019 17:42:06 +0000"  >&lt;p&gt;As discussed on Slack, the Neon data to be tested are:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Raw data in /tigress/HSC/PFS/LAM/raw/2019-02-16&lt;/li&gt;
	&lt;li&gt;bias=12122..12136, dark=12152..12166, ditheredflats=12172..12300:3, flats=12167..12171, science= 12355..12360&lt;/li&gt;
	&lt;li&gt;The numbers are deduced by looking at &lt;a href=&quot;https://people.lam.fr/madec.fabrice/pfs/ait_logbook_SM1.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://people.lam.fr/madec.fabrice/pfs/ait_logbook_SM1.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="15125" author="price" created="Thu, 14 Mar 2019 15:54:06 +0000"  >&lt;p&gt;This includes a single commit that changes the default reference line intensity threshold to be suitable for HgAr as well as Ne.&lt;/p&gt;</comment>
                            <comment id="15126" author="price" created="Thu, 14 Mar 2019 17:01:48 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                            <comment id="15127" author="hassan" created="Thu, 14 Mar 2019 18:34:03 +0000"  >&lt;p&gt;Fix has been tested against the Neon data Neven mentioned in his comment &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-375?focusedCommentId=15091&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15091&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-375?focusedCommentId=15091&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15091&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13388">PIPE2D-379</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|02qpt6:508yjj44</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="43">2019 B</customfieldvalue>
    <customfieldvalue id="45">2DDRP-2019 C</customfieldvalue>

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