<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:56:30 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-686] butler.get fails for raw and dark</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-686</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Using&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;
dataDir = (&lt;span class=&quot;code-quote&quot;&gt;&quot;/projects/HSC/PFS/Subaru&quot;&lt;/span&gt;)
calibDir = &lt;span class=&quot;code-quote&quot;&gt;&quot;/projects/HSC/PFS/Subaru/CALIB-price&quot;&lt;/span&gt;
butler = dafPersist.Butler(dataDir, calibRoot=calibDir)

dataId = dict(visit=34341, spectrograph=1, arm=&lt;span class=&quot;code-quote&quot;&gt;&apos;r&apos;&lt;/span&gt;)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;on tiger, &lt;tt&gt;butler.get(&apos;raw&apos;, dataId)&lt;/tt&gt;  fails with &lt;tt&gt;OperationalError : no such column: filter&lt;/tt&gt;  (and adding &lt;tt&gt;filter=dataId&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;arm&amp;#39;&amp;#93;&lt;/span&gt;&lt;/tt&gt; works.&lt;/p&gt;

&lt;p&gt;Also, &lt;tt&gt;butler.get(&apos;dark&apos;, dataId)&lt;/tt&gt; fails with &lt;tt&gt;OperationalError: no such column: spectrograph&lt;/tt&gt;.  The workaround is:&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;
taiObs = butler.queryMetadata(&lt;span class=&quot;code-quote&quot;&gt;&apos;raw&apos;&lt;/span&gt;, [&lt;span class=&quot;code-quote&quot;&gt;&apos;taiObs&apos;&lt;/span&gt;], dataId)[0]
dark = butler.get(&lt;span class=&quot;code-quote&quot;&gt;&apos;dark&apos;&lt;/span&gt;, dataId, taiObs=taiObs)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;bias has the same problem as dark&lt;/p&gt;</description>
                <environment></environment>
        <key id="15107">PIPE2D-686</key>
            <summary>butler.get fails for raw and dark</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="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Dec 2020 20:08:42 +0000</created>
                <updated>Fri, 28 Jan 2022 17:16:26 +0000</updated>
                            <resolved>Wed, 7 Jul 2021 15:25:39 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="21655" author="price" created="Wed, 7 Jul 2021 15:25:39 +0000"  >&lt;p&gt;This works now (I think I fixed it in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-828&quot; title=&quot;Port LSST DM-29117 ticket for handling 32/64 bit keywords&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-828&quot;&gt;&lt;del&gt;PIPE2D-828&lt;/del&gt;&lt;/a&gt;):&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;
&amp;gt;&amp;gt;&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; lsst.daf.persistence as dafPersist
&amp;gt;&amp;gt;&amp;gt; dataDir = (&lt;span class=&quot;code-quote&quot;&gt;&quot;/projects/HSC/PFS/Subaru&quot;&lt;/span&gt;)
&amp;gt;&amp;gt;&amp;gt; calibDir = &lt;span class=&quot;code-quote&quot;&gt;&quot;/projects/HSC/PFS/Subaru/CALIB-price&quot;&lt;/span&gt;
&amp;gt;&amp;gt;&amp;gt; butler = dafPersist.Butler(dataDir, calibRoot=calibDir)
CameraMapper INFO: Loading exposure registry from /projects/HSC/PFS/Subaru/registry.sqlite3
CameraMapper INFO: Loading calib registry from /projects/HSC/PFS/Subaru/CALIB-price/calibRegistry.sqlite3
&amp;gt;&amp;gt;&amp;gt; dataId = dict(visit=34341, spectrograph=1, arm=&lt;span class=&quot;code-quote&quot;&gt;&apos;r&apos;&lt;/span&gt;)
&amp;gt;&amp;gt;&amp;gt; butler.get(&lt;span class=&quot;code-quote&quot;&gt;&apos;raw&apos;&lt;/span&gt;, dataId)
&amp;lt;lsst.afw.image.exposure.exposure.ExposureU object at 0x2b261520d110&amp;gt;
&amp;gt;&amp;gt;&amp;gt; butler.get(&lt;span class=&quot;code-quote&quot;&gt;&apos;dark&apos;&lt;/span&gt;, dataId)
&amp;lt;lsst.afw.image.exposure.exposure.ExposureF object at 0x2b2615275298&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                    <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|02qpq3:r1e</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="98">2DDRP-2021 A 2</customfieldvalue>
    <customfieldvalue id="102">2DDRP-2021 A3</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>