<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:04:21 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-1215] Update the 2D plot part of detectorMap QA code</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1215</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Please check the quality of the detectorMaps generated using the data of the engineering run in 2023 Apr. A script for detectorMap QA developed by Hamano-san is supposed to be used here.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Edit (wtg):&#160; As discussed in the 2D-DRP meeting, I will first be checking the quality of the existing detectorMaps (created before the 2023 Apr run) before generating (#1214) and checking new detectorMaps.&#160; See also the comment in 1214.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23427">PIPE2D-1215</key>
            <summary>Update the 2D plot part of detectorMap QA code</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="1" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wtgee">Wilfred Gee</assignee>
                                    <reporter username="kiyoto.yabe">Kiyoto Yabe</reporter>
                        <labels>
                            <label>EDR</label>
                            <label>EngRun</label>
                            <label>QualityAssurance</label>
                    </labels>
                <created>Thu, 11 May 2023 06:32:38 +0000</created>
                <updated>Tue, 6 Feb 2024 01:00:35 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="32662" author="wtgee" created="Fri, 12 May 2023 01:37:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiyoto.yabe&quot; class=&quot;user-hover&quot; rel=&quot;kiyoto.yabe&quot;&gt;Kiyoto Yabe&lt;/a&gt;&#160;can you let me know the location of Hamano-san&apos;s QA scripts, as mentioned in the 2D-DRP meeting? Thanks!&lt;/p&gt;</comment>
                            <comment id="32663" author="kiyoto.yabe" created="Fri, 12 May 2023 01:51:20 +0000"  >&lt;p&gt;The codes are now here:&#160;/work/shamano/pfs_qa&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="32681" author="rhl" created="Fri, 12 May 2023 18:37:07 +0000"  >&lt;p&gt;How does this relate to &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1146&quot; title=&quot;QA checks: continuum flux and wavelength of atmospheric features&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1146&quot;&gt;PIPE2D-1146&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="32687" author="kiyoto.yabe" created="Fri, 12 May 2023 20:07:06 +0000"  >&lt;p&gt;I&apos;m just imaging that only residuals in wavelength and spatial direction (and structure over the detector) are checked here. I don&apos;t think Hamano-san&apos;s script checks &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1146&quot; title=&quot;QA checks: continuum flux and wavelength of atmospheric features&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1146&quot;&gt;PIPE2D-1146&lt;/a&gt; yet, so if that ticket is done, we can check it as well.&lt;/p&gt;</comment>
                            <comment id="32688" author="rhl" created="Fri, 12 May 2023 20:15:36 +0000"  >&lt;p&gt;My mistake &amp;#8211; I read &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1146&quot; title=&quot;QA checks: continuum flux and wavelength of atmospheric features&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1146&quot;&gt;PIPE2D-1146&lt;/a&gt; too quickly.  The OH lines are interesting, but not the absorption.   &#12377;&#12415;&#12414;&#12379;&#12435;&lt;/p&gt;</comment>
                            <comment id="32689" author="wtgee" created="Fri, 12 May 2023 20:16:03 +0000"  >&lt;p&gt;I&apos;ve just started to look at the script from Hamano-san (and will be doing the initial import into the repo soon), but I think &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiyoto.yabe&quot; class=&quot;user-hover&quot; rel=&quot;kiyoto.yabe&quot;&gt;Kiyoto Yabe&lt;/a&gt;&#160;is correct as the script only makes reference to the wavelength and spatial direction (script just says` Xcenter`).&lt;/p&gt;</comment>
                            <comment id="34090" author="kiyoto.yabe" created="Fri, 21 Jul 2023 02:15:08 +0000"  >&lt;p&gt;I talked to you the other day, but could you provide plots for Apr run here please?&lt;/p&gt;</comment>
                            <comment id="34163" author="kiyoto.yabe" created="Wed, 26 Jul 2023 02:23:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=wtgee&quot; class=&quot;user-hover&quot; rel=&quot;wtgee&quot;&gt;Wilfred Gee&lt;/a&gt;&#160;Could you tell me how to setup and use the latest version in the PR? I also would like to use that for the science frames we took recently.&lt;/p&gt;</comment>
                            <comment id="34165" author="wtgee" created="Wed, 26 Jul 2023 06:18:27 +0000"  >&lt;p&gt;Hi Yabe-san,&lt;/p&gt;

&lt;p&gt;The module can be set up in the usual way. First clone the directory, checkout the branch, build with `scons`, then use `setup` to put into environment (as more or less outlined &lt;a href=&quot;https://pipelines.lsst.io/install/package-development.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://pipelines.lsst.io/install/package-development.html&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;I&apos;ve already performed those steps on `pfsa-usr01`, so you could can just use `setup -jr /work/wtg/drp_qa` to have the `detectorMapQa.py` command available. Note that I still might make some future changes to the PR that would affect usage.&lt;/p&gt;

&lt;p&gt;Let me know if it gives you any trouble!&lt;/p&gt;</comment>
                            <comment id="34170" author="kiyoto.yabe" created="Wed, 26 Jul 2023 11:49:02 +0000"  >&lt;p&gt;Thank you. I think I could run the code. But it works only if I setup pfs_pipe2d for w.2023.27 (or earlier version) with the following code:&lt;/p&gt;

&lt;p&gt;&#160;&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;
setup pfs_pipe2d w.2023.30a
setup -jr /work/kiyoyabe/erun/run12/src/obs_pfs
setup -jr /work/kiyoyabe/erun/run12/src/drp_qa
VISITS=97828
REPO=&lt;span class=&quot;code-quote&quot;&gt;&apos;/work/drp&apos;&lt;/span&gt;
RERUN=&lt;span class=&quot;code-quote&quot;&gt;&apos;kiyoyabe/erun/run12/CALIB-2023-07-v3&apos;&lt;/span&gt;
CALIB=&lt;span class=&quot;code-quote&quot;&gt;&apos;/work/drp/CALIB-2023-07-v3&apos;&lt;/span&gt;
detectorMapQa.py $REPO --calib $CALIB --rerun $RERUN --id visit=$VISITS arm=b^r --no-versions
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Could you confirm that we can use with the latest pipeline? Or maybe I did something wrong. The error message is like this:&lt;/p&gt;

&lt;p&gt;&#160;&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;
/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/argumentParser.py:778: FutureWarning: Gen2 Butler has been deprecated (PfsButler). It will be removed sometime after v23.0 but no earlier than the end of 2021.
 namespace.butler = dafPersist.Butler(inputs=inputs, outputs=outputs)
/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/argumentParser.py:778: FutureWarning: Gen2 Butler has been deprecated (PfsMapper). It will be removed sometime after v23.0 but no earlier than the end of 2021.
 namespace.butler = dafPersist.Butler(inputs=inputs, outputs=outputs)
lsst.CameraMapper INFO: Loading exposure registry from /work/drp/registry.pgsql
lsst.CameraMapper INFO: Loading calib registry from /work/drp/CALIB-2023-07-v3/calibRegistry.sqlite3
lsst.CameraMapper INFO: Loading calib registry from /work/drp/CALIB-2023-07-v3/calibRegistry.sqlite3
root INFO: Running: /work/kiyoyabe/erun/run12/src/drp_qa/bin/detectorMapQa.py /work/drp --calib /work/drp/CALIB-2023-07-v3 --rerun kiyoyabe/erun/run12/CALIB-2023-07-v3 --id visit=97828 arm=b^r --no-versions
Traceback (most recent call last):
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/stack_INFRA-312/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-3.0.0/lib/python3.8/site-packages/pandas/core/indexes/base.py&quot;&lt;/span&gt;, line 3621, in get_loc
 &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; self._engine.get_loc(casted_key)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;pandas/_libs/index.pyx&quot;&lt;/span&gt;, line 136, in pandas._libs.index.IndexEngine.get_loc
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;pandas/_libs/index.pyx&quot;&lt;/span&gt;, line 163, in pandas._libs.index.IndexEngine.get_loc
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;pandas/_libs/hashtable_class_helper.pxi&quot;&lt;/span&gt;, line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;pandas/_libs/hashtable_class_helper.pxi&quot;&lt;/span&gt;, line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: &lt;span class=&quot;code-quote&quot;&gt;&apos;Trace&apos;&lt;/span&gt;
The above exception was the direct cause of the following exception:
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;/work/kiyoyabe/erun/run12/src/drp_qa/python/pfs/qa/detectorMapQa.py&quot;&lt;/span&gt;, line 665, in runDataRef
 &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; self.run(detectorMapList, arcLinesList, pfsArmList)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/kiyoyabe/erun/run12/src/drp_qa/python/pfs/qa/detectorMapQa.py&quot;&lt;/span&gt;, line 692, in run
 self.plotResidual.run(dd, aa, pp)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/kiyoyabe/erun/run12/src/drp_qa/python/pfs/qa/detectorMapQa.py&quot;&lt;/span&gt;, line 81, in run
 arc_data = stability.getArclineData(arcLines)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/kiyoyabe/erun/run12/src/drp_qa/python/pfs/qa/utils/stability.py&quot;&lt;/span&gt;, line 70, in getArclineData
 arc_data[&lt;span class=&quot;code-quote&quot;&gt;&apos;Trace&apos;&lt;/span&gt;] = arc_data.description.str.get_dummies()[&lt;span class=&quot;code-quote&quot;&gt;&apos;Trace&apos;&lt;/span&gt;]
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/stack_INFRA-312/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-3.0.0/lib/python3.8/site-packages/pandas/core/frame.py&quot;&lt;/span&gt;, line 3505, in __getitem__
 indexer = self.columns.get_loc(key)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/stack_INFRA-312/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-3.0.0/lib/python3.8/site-packages/pandas/core/indexes/base.py&quot;&lt;/span&gt;, line 3623, in get_loc
 raise KeyError(key) from err
KeyError: &lt;span class=&quot;code-quote&quot;&gt;&apos;Trace&apos;&lt;/span&gt;
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/kiyoyabe/erun/run12/src/drp_qa/bin/detectorMapQa.py&quot;&lt;/span&gt;, line 4, in &amp;lt;module&amp;gt;
 DetectorMapQaTask.parseAndRun()
 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 688, in parseAndRun
 resultList = taskRunner.run(parsedCmd)
 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 244, in run
 resultList = list(mapFunc(self, targetList))
 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 450, in __call__
 &lt;span class=&quot;code-quote&quot;&gt;&quot;, &quot;&lt;/span&gt;.join(str(ref.dataId) &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; ref in dataRef),
 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 450, in &amp;lt;genexpr&amp;gt;
 &lt;span class=&quot;code-quote&quot;&gt;&quot;, &quot;&lt;/span&gt;.join(str(ref.dataId) &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; ref in dataRef),
AttributeError: &lt;span class=&quot;code-quote&quot;&gt;&apos;list&apos;&lt;/span&gt; object has no attribute &lt;span class=&quot;code-quote&quot;&gt;&apos;dataId&apos;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="34171" author="kiyoto.yabe" created="Wed, 26 Jul 2023 11:51:21 +0000"  >&lt;p&gt;Anyway, plots I could make are here:&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/16185/16185_detectorMapQA-097828-20230726.pdf&quot; title=&quot;detectorMapQA-097828-20230726.pdf attached to PIPE2D-1215&quot;&gt;detectorMapQA-097828-20230726.pdf&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;It seems that there are blank panel, so I must have done something wrong. So, I appreciate if you can make the plots for the same specific visit.&lt;/p&gt;</comment>
                            <comment id="34175" author="wtgee" created="Wed, 26 Jul 2023 15:38:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiyoto.yabe&quot; class=&quot;user-hover&quot; rel=&quot;kiyoto.yabe&quot;&gt;Kiyoto Yabe&lt;/a&gt;&#160;I think I figured out why the one panel is broken, trying to fix now.&lt;/p&gt;

&lt;p&gt;I was using the pipeline as of last week, so more recent than the `w.2023.27`. I&apos;ll see if I can duplicate the error message above.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="23689">PIPE2D-1250</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="23426">PIPE2D-1214</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="16185" name="detectorMapQA-097828-20230726.pdf" size="4217860" author="kiyoto.yabe" created="Wed, 26 Jul 2023 11:49: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|02qpjd:00r20060i200186403c14</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="170">EDR+AIT</customfieldvalue>

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