<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:05:34 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-1291] Unable to retrieve calexp after reducing exposure</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1291</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Jared reports that on tiger, as he&apos;s able to successfully access the pfsArm and pfsMerged, he&apos;s not able to access the calexp even though the file exist, the butler.get fails with :&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; NotFoundError: 
  File &quot;src/PropertySet.cc&quot;, line 186, in const std::type_info&amp;amp; lsst::daf::base::PropertySet::typeOf(const string&amp;amp;) const
    CALIB not found {0}
lsst::pex::exceptions::NotFoundError: &apos;CALIB not found&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;rerun : /projects/HSC/PFS/Subaru/rerun/edr3-20230829
dataId:  dict(arm=&apos;r&apos;, visit=98042, spectrograph=1)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


</description>
                <environment></environment>
        <key id="23817">PIPE2D-1291</key>
            <summary>Unable to retrieve calexp after reducing exposure</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>Wed, 30 Aug 2023 16:40:14 +0000</created>
                <updated>Wed, 30 Aug 2023 19:28:27 +0000</updated>
                            <resolved>Wed, 30 Aug 2023 19:28:27 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="34583" author="rhl" created="Wed, 30 Aug 2023 16:42:52 +0000"  >&lt;p&gt;Please provide a complete how-to-repeat&lt;/p&gt;</comment>
                            <comment id="34584" author="arnaud.lefur" created="Wed, 30 Aug 2023 16:47:12 +0000"  >&lt;p&gt;Just do :&lt;br/&gt;
&lt;em&gt;reduceExposure.py /projects/HSC/PFS/Subaru --calib=/projects/HSC/PFS/Subaru/CALIB --rerun=pipe2d-1291 -j 8 --id visit=98042 -c isr.doFlat=False&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;and then : &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;import lsst.daf.persistence as dafPersist

butler = dafPersist.Butler(&apos;/projects/HSC/PFS/Subaru/rerun/pipe2d-1291&apos;)

butler.get(&apos;pfsArm&apos;, arm=&apos;r&apos;, spectrograph=1, visit=98042) # OK
butler.get(&apos;calexp&apos;, arm=&apos;r&apos;, spectrograph=1, visit=98042) # FAILS
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="34586" author="price" created="Wed, 30 Aug 2023 17:49:32 +0000"  >&lt;p&gt;This is due to the use of a dotted &lt;tt&gt;HIERARCH&lt;/tt&gt; key name (&lt;tt&gt;PFS.DRP2D.CALIB&lt;/tt&gt;) when recording the calib path (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1281&quot; title=&quot;Miscellaneous workshop updates&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1281&quot;&gt;&lt;del&gt;PIPE2D-1281&lt;/del&gt;&lt;/a&gt;). I&apos;m updating it to use underscores instead of dots (&lt;tt&gt;PFS_DRP2D_CALIB&lt;/tt&gt;).&lt;/p&gt;

&lt;p&gt;Fix is in obs_pfs, and is currently being tested.&lt;/p&gt;</comment>
                            <comment id="34587" author="rhl" created="Wed, 30 Aug 2023 17:58:27 +0000"  >&lt;p&gt;That requires me to regenerate my own rerun, which is more than is needed to replicate this problem. &#160;So&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;
butler = dafPersist.Butler(&lt;span class=&quot;code-quote&quot;&gt;&apos;/projects/HSC/PFS/Subaru/rerun/edr3-20230829&apos;&lt;/span&gt;)
butler.get(&lt;span class=&quot;code-quote&quot;&gt;&apos;calexp&apos;&lt;/span&gt;, arm=&lt;span class=&quot;code-quote&quot;&gt;&apos;r&apos;&lt;/span&gt;, spectrograph=1, visit=98042) # FAILS
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;would have been the minimal how-to-repeat.   The initial ticket didn&apos;t tell me if e.g. a CALIB argument was passed to the butler.&lt;/p&gt;

&lt;p&gt;But in this case, as so often, Paul&apos;s found the real problem&lt;/p&gt;</comment>
                            <comment id="34592" author="arnaud.lefur" created="Wed, 30 Aug 2023 18:48:53 +0000"  >&lt;p&gt;Thanks.&lt;br/&gt;
Does it mean I need to re-process the data once the fix is in place ? &lt;/p&gt;</comment>
                            <comment id="34593" author="price" created="Wed, 30 Aug 2023 18:49:35 +0000"  >&lt;p&gt;Yes, I&apos;m afraid so.&lt;/p&gt;</comment>
                            <comment id="34594" author="arnaud.lefur" created="Wed, 30 Aug 2023 19:13:58 +0000"  >&lt;p&gt;No worries, I did reprocess the data and was able to access the calexp file.&lt;br/&gt;
So your fix appears to work, thanks !&lt;/p&gt;</comment>
                            <comment id="34595" author="price" created="Wed, 30 Aug 2023 19:28:27 +0000"  >&lt;p&gt;Integration test passed.&lt;br/&gt;
Merged to master.&lt;/p&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|zzszdb:</customfieldvalue>

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