<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:59:43 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-917] Bring over DM-31448 from Rubin (Allow gen2 butler lookups even when fields in the dataId are not in the registry)</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-917</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Please pull over &lt;a href=&quot;https://jira.lsstcorp.org/browse/DM-31448&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.lsstcorp.org/browse/DM-31448&lt;/a&gt;.  It&apos;s needed to read arbitrary HDUs for H4RG data&lt;/p&gt;</description>
                <environment></environment>
        <key id="18268">PIPE2D-917</key>
            <summary>Bring over DM-31448 from Rubin (Allow gen2 butler lookups even when fields in the dataId are not in the registry)</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>
                            <label>NIR</label>
                    </labels>
                <created>Wed, 20 Oct 2021 16:41:07 +0000</created>
                <updated>Tue, 19 Jul 2022 19:55:57 +0000</updated>
                            <resolved>Fri, 10 Dec 2021 23:17:59 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="25712" author="price" created="Wed, 8 Dec 2021 19:55:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=rhl&quot; class=&quot;user-hover&quot; rel=&quot;rhl&quot;&gt;rhl&lt;/a&gt;, could you please check that this works for you? You should only have to switch to the obs_pfs ticket branch.&lt;/p&gt;</comment>
                            <comment id="25724" author="rhl" created="Fri, 10 Dec 2021 15:00:24 +0000"  >&lt;p&gt;Sorry, I only just got to this. Rebasing my working branch of obs_pfs onto &lt;tt&gt;origin/tickets/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-917&quot; title=&quot;Bring over DM-31448 from Rubin (Allow gen2 butler lookups even when fields in the dataId are not in the registry)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-917&quot;&gt;&lt;del&gt;PIPE2D-917&lt;/del&gt;&lt;/a&gt;&lt;/tt&gt; doesn&apos;t seem to work on tiger:&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;
&lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; lsst.daf.persistence as dafPersist
butler = dafPersist.Butler(&lt;span class=&quot;code-quote&quot;&gt;&quot;/projects/HSC/PFS/JHU&quot;&lt;/span&gt;)
dataId = dict(visit=24848, arm=&lt;span class=&quot;code-quote&quot;&gt;&apos;n&apos;&lt;/span&gt;, spectrograph=2)
raw = butler.get(&lt;span class=&quot;code-quote&quot;&gt;&apos;raw&apos;&lt;/span&gt;, dataId, hdu=1)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;generates an error ending with&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;
/tigress/HSC/PFS/stack/current/stack/current/Linux64/daf_persistence/18.1.0/python/lsst/daf/persistence/registries.py in lookup(self, lookupProperties, reference, dataId, **kwargs)
    367             cmd += &lt;span class=&quot;code-quote&quot;&gt;&quot; WHERE &quot;&lt;/span&gt; + &lt;span class=&quot;code-quote&quot;&gt;&quot; AND &quot;&lt;/span&gt;.join(whereList)
    368         cursor = self.conn.cursor()
--&amp;gt; 369         cursor.execute(cmd, valueList)
    370         &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; [row &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; row in cursor.fetchall()]
    371 

OperationalError: no such column: hdu
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Did I do something wrong?  I confirmed that the monkey-patch code was being imported&lt;/p&gt;</comment>
                            <comment id="25726" author="price" created="Fri, 10 Dec 2021 19:29:35 +0000"  >&lt;p&gt;Sorry about that. I needed to bring the subclasses along for the ride. It works now:&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;
$ python -c &lt;span class=&quot;code-quote&quot;&gt;&apos;&lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; lsst.daf.persistence as dafPersist; butler = dafPersist.Butler(&lt;span class=&quot;code-quote&quot;&gt;&quot;/projects/HSC/PFS/JHU&quot;&lt;/span&gt;); dataId = dict(visit=24848, arm=&lt;span class=&quot;code-quote&quot;&gt;&quot;n&quot;&lt;/span&gt;, spectrograph=2); raw = butler.get(&lt;span class=&quot;code-quote&quot;&gt;&quot;raw&quot;&lt;/span&gt;, dataId, hdu=1)&apos;&lt;/span&gt;
CameraMapper INFO: Loading exposure registry from /projects/HSC/PFS/JHU/registry.sqlite3
CameraMapper INFO: darkTime is NaN/Inf; using exposureTime
$ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="25727" author="rhl" created="Fri, 10 Dec 2021 21:05:31 +0000"  >&lt;p&gt;Looks OK.   It&apos;s not the way I&apos;d have done it, but Paul&apos;s Da Boss.   We do need to make sure that this gets removed when we go to Gen3.&lt;/p&gt;</comment>
                            <comment id="25728" author="price" created="Fri, 10 Dec 2021 23:18:00 +0000"  >&lt;p&gt;Yeah, it&apos;s not ideal, but I&apos;m hoping it&apos;s not going to last long.&lt;/p&gt;

&lt;p&gt;Merged.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="19140">INSTRM-1469</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="16994">PIPE2D-882</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|zzs9ul:xxi</customfieldvalue>

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

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