<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:58:58 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-855] cannot construct fiberProfile from the recent dcb-21-fibers data</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-855</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;got this error constructing fiberProfile from the recent dcb data :&lt;/p&gt;



&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;CameraMapper INFO: Loading calib registry from /tigress/HSC/PFS/Subaru/CALIB-alefur-dcb21/calibRegistry.sqlite3                                               [8/1852]
fiberProfiles INFO: Scatter combination                                                                                                                               
fiberProfiles INFO: Combining 1 inputs {&apos;arm&apos;: &apos;r&apos;, &apos;spectrograph&apos;: 1, &apos;ccd&apos;: 1, &apos;filter&apos;: None, &apos;calibTime&apos;: &apos;2021-06-04T13:41:15.315000320&apos;, &apos;visit0&apos;: 59870, &apos;calib
Date&apos;: &apos;2021-06-04&apos;} on tiger2-sumire.princeton.edu:245429       
IndexError on tiger2-sumire.princeton.edu:245429 in reduce: map::at                                                                                                   
Traceback (most recent call last):                                                 
  File &quot;/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_pool/18.1.0/python/lsst/ctrl/pool/pool.py&quot;, line 113, in wrapper
    return func(*args, **kwargs)
  File &quot;/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_pool/18.1.0/python/lsst/ctrl/pool/pool.py&quot;, line 240, in wrapper
    return func(*args, **kwargs)                                                   
  File &quot;/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_pool/18.1.0/python/lsst/ctrl/pool/pool.py&quot;, line 716, in reduce
    *args, **kwargs)
  File &quot;/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_pool/18.1.0/python/lsst/ctrl/pool/pool.py&quot;, line 573, in _reduceQueue
    resultList = [func(self._getCache(context, i), data, *args, **kwargs) for i, data in queue]
  File &quot;/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/ctrl_pool/18.1.0/python/lsst/ctrl/pool/pool.py&quot;, line 573, in &amp;lt;listcomp&amp;gt;
    resultList = [func(self._getCache(context, i), data, *args, **kwargs) for i, data in queue]
  File &quot;/home/afur/drp_stella/python/pfs/drp/stella/constructFiberProfilesTask.py&quot;, line 147, in combine
    traces = self.centroidTraces.run(exposure, detMap, pfsConfig)
  File &quot;/home/afur/drp_stella/python/pfs/drp/stella/centroidTraces.py&quot;, line 59, in run
    traces = self.findTracePeaks(convolved, detectorMap, pfsConfig)
  File &quot;/home/afur/drp_stella/python/pfs/drp/stella/centroidTraces.py&quot;, line 113, in findTracePeaks
    badBitMask, fiberId)
IndexError: map::at
fiberProfiles FATAL: Failed: map::at
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;I&apos;m using drp_stella master on top of w.2021.24.&lt;br/&gt;
Here is the command history :&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;
constructPfsBias.py /tigress/HSC/PFS/Subaru --calib /tigress/HSC/PFS/Subaru/CALIB-alefur/ --rerun alefur/pipe2d-794 --id visit=55386..55400 --batch-type=none --clobber-versions

mkdir CALIB-alefur-dcb21

ingestPfsCalibs.py /tigress/HSC/PFS/Subaru/ --calib /tigress/HSC/PFS/Subaru/CALIB-alefur-dcb21/ --validity 1000 --mode=copy rerun/alefur/pipe2d-794/BIAS/pfsBias-2021-05-24-055386-* 

constructPfsDark.py /tigress/HSC/PFS/Subaru --calib /tigress/HSC/PFS/Subaru/CALIB-alefur-dcb21/ --rerun alefur/pipe2d-794-dcb21 --id visit=55401..55415 --batch-type=none

ingestPfsCalibs.py /tigress/HSC/PFS/Subaru/ --calib /tigress/HSC/PFS/Subaru/CALIB-alefur-dcb21/ --validity 1000 --mode=copy rerun/alefur/pipe2d-794-dcb21/DARK/pfsDark-2021-05-24-055401-* 

ingestPfsCalibs.py /tigress/HSC/PFS/Subaru/ --calib /tigress/HSC/PFS/Subaru/CALIB-alefur-dcb21/ --validity 1000 --mode=copy $DRP_PFS_DATA_DIR/detectorMap/detectorMap-sim-*.fits 

bootstrapDetectorMap.py /tigress/HSC/PFS/Subaru/ --calib /tigress/HSC/PFS/Subaru/CALIB-alefur-dcb21/ --rerun alefur/pipe2d-794-dcb21/ --flatId visit=59870 arm=r --arcId visit=59871 arm=r 

ingestPfsCalibs.py /tigress/HSC/PFS/Subaru/ --calib /tigress/HSC/PFS/Subaru/CALIB-alefur-dcb21/ --validity 1000 --mode=copy rerun/alefur/pipe2d-794-dcb21/DETECTORMAP/pfsDetectorMap-059871-r1.fits 

ingestPfsCalibs.py /tigress/HSC/PFS/Subaru/ --calib /tigress/HSC/PFS/Subaru/CALIB-alefur-dcb21/ --validity 1000 --mode=copy rerun/alefur/pipe2d-794/FLAT/pfsFlat-2020-09-11-025395-r1.fits 

constructFiberProfiles.py /tigress/HSC/PFS/Subaru/ --calib /tigress/HSC/PFS/Subaru/CALIB-alefur-dcb21/ --rerun alefur/pipe2d-794-dcb21/ --id visit=59870 arm=r --batch-type=none
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

</description>
                <environment></environment>
        <key id="16888">PIPE2D-855</key>
            <summary>cannot construct fiberProfile from the recent dcb-21-fibers data</summary>
                <type id="1" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10503&amp;avatarType=issuetype">Bug</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="arnaud.lefur">arnaud.lefur</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Jun 2021 16:44:03 +0000</created>
                <updated>Thu, 17 Jun 2021 22:35:49 +0000</updated>
                            <resolved>Thu, 17 Jun 2021 22:35:49 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="21521" author="price" created="Thu, 17 Jun 2021 20:53:16 +0000"  >&lt;p&gt;This was another fiber selection problem.&lt;/p&gt;

&lt;p&gt;After fixing that, there is another error because the flat was made with a different set of fibers, so most of the lit fibers in the image under consideration are masked. Turning off the flat-fielding allows the command to succeed. However, the pfsConfig claims there are 21 fibers but I can only see 20. Drawing the fiber traces on the image with &lt;tt&gt;displayDetectorMap.py&lt;/tt&gt; shows two fibers that aren&#8217;t in the pfsConfig, and one that is but shouldn&#8217;t be.&lt;/p&gt;</comment>
                            <comment id="21522" author="hassan" created="Thu, 17 Jun 2021 21:22:29 +0000"  >&lt;p&gt;Changes in the pull request (which involve using the &lt;tt&gt;detectorMap&lt;/tt&gt; to decide which fibers should be selected) look fine to me.&lt;/p&gt;</comment>
                            <comment id="21523" author="price" created="Thu, 17 Jun 2021 22:35:49 +0000"  >&lt;p&gt;Merged.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13924" name="image-2.png" size="1029216" author="price" created="Thu, 17 Jun 2021 20:53:45 +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|02qpt6:508yl0chzzy0000026ji</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="111">2DDRP-2021 A 6</customfieldvalue>

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