<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:55:11 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-591] unable to ingest updated header images</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-591</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Was trying to ingest post software migration images, but it failed in various places:&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;[pfs@shell2-ics drp]$ ingestPfsImages.py /data/drp/alefur --mode=link /data/raw/2020-05-27/sps/PFSA01774512.fits CameraMapper INFO: Loading exposure registry from /data/drp/alefur/registry.sqlite3 
ingestPfs.parse WARN: Unable to find value for dataType (derived from IMAGETYP) 
ingestPfs.parse WARN: Unable to find value for expTime (derived from EXPTIME)&#160;
ingestPfs.parse WARN: Unable to find value for dateObs (derived from DATE-OBS) 
ingestPfs.parse WARN: Unable to find value for taiObs (derived from DATE-OBS) 
ingestPfs.parse WARN: translate_field failed to translate field: &apos;NoneType&apos; object has no attribute &apos;strip&apos; 
ingestPfs.parse WARN: No value set for pfsDesignId; using default (0x0000000000000000) 
ingestPfs.parse WARN: translate_date failed to translate dateObs: &apos;DATE-OBS not found&apos; 
ingestPfs.parse WARN: translate_date failed to translate taiObs: &apos;DATE-OBS not found&apos; 
Traceback (most recent call last): 
 File &quot;/software/drp-5.2/stack/miniconda3-4.5.12-1172c30/Linux64/obs_pfs/w.2020.21/python/lsst/obs/pfs/ingest.py&quot;, line 419, in runFile 
 hduInfoList = super().runFile(infile, registry, args) 
 File &quot;/software/drp-5.2/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_tasks/18.1.0/python/lsst/pipe/tasks/ingest.py&quot;, line 533, in runFile 
 outfile = self.parse.getDestination(args.butler, fileInfo, infile) 
 File &quot;/software/drp-5.2/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_tasks/18.1.0/python/lsst/pipe/tasks/ingest.py&quot;, line 189, in getDestination 
 raw = butler.get(&quot;raw_filename&quot;, info)[0] 
 File &quot;/software/drp-5.2/stack/miniconda3-4.5.12-1172c30/Linux64/daf_persistence/18.1.0/python/lsst/daf/persistence/butler.py&quot;, line 1380, in get 
 raise NoResults(&quot;No locations for get:&quot;, datasetType, dataId) 
lsst.daf.persistence.butlerExceptions.NoResults: No locations for get: datasetType:raw_filename dataId:DataId(initialdata={&apos;site&apos;: &apos;S&apos;, &apos;category&apos;: &apos;A&apos;, &apos;visit&apos;: 17745, &apos;filter&apos;: &apos;r&apos;, &apos;arm&apos;: &apos;r&apos;, &apos;spectrograph&apos;: 1, &apos;ccd&apos;: 1, &apos;pfsDesignId&apos;: 0, &apos;slitOffset&apos;: 0.0, &apos;lamps&apos;: &apos;&apos;, &apos;dither&apos;: -9999, &apos;shift&apos;: -9999, &apos;focus&apos;: -9999, &apos;attenuator&apos;: -9999, &apos;photodiode&apos;: -9999}, tag=set()) 
ingestPfs WARN: Failed to ingest file /data/raw/2020-05-27/sps/PFSA01774512.fits: No locations for get: datasetType:raw_filename dataId:DataId(initialdata={&apos;site&apos;: &apos;S&apos;, &apos;category&apos;: &apos;A&apos;, &apos;visit&apos;: 17745, &apos;filter&apos;: &apos;r&apos;, &apos;arm&apos;: &apos;r&apos;, &apos;spectrograph&apos;: 1, &apos;ccd&apos;: 1, &apos;pfsDesignId&apos;: 0, &apos;slitOffset&apos;: 0.0, &apos;lamps&apos;: &apos;&apos;, &apos;dither&apos;: -9999, &apos;shift&apos;: -9999, &apos;focus&apos;: -9999, &apos;attenuator&apos;: -9999, &apos;photodiode&apos;: -9999}, tag=set()) &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="14412">PIPE2D-591</key>
            <summary>unable to ingest updated header images</summary>
                <type id="1" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10503&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/blocker.svg">Blocker</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, 28 May 2020 20:37:58 +0000</created>
                <updated>Mon, 4 Jan 2021 20:23:18 +0000</updated>
                            <resolved>Fri, 29 May 2020 18:39:54 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="17212" author="price" created="Thu, 28 May 2020 20:41:06 +0000"  >&lt;p&gt;Looks like your image has a very sparse header. I&apos;ll see if I can find a copy.&lt;/p&gt;</comment>
                            <comment id="17213" author="cloomis" created="Thu, 28 May 2020 20:43:47 +0000"  >&lt;p&gt;PHDU is the main header, &apos;image&apos; has the image. Could add INHERIT even though that just papers things over. It papers things over for LSST, which is the consumer we care about.&lt;/p&gt;</comment>
                            <comment id="17214" author="price" created="Thu, 28 May 2020 20:46:26 +0000"  >&lt;p&gt;I successfully ingested this file (as part of &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-571&quot; title=&quot;Ingest into a common data repo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-571&quot;&gt;&lt;del&gt;PIPE2D-571&lt;/del&gt;&lt;/a&gt;). Could you please try the &lt;tt&gt;w.2020.21&lt;/tt&gt; release?&lt;/p&gt;</comment>
                            <comment id="17215" author="price" created="Thu, 28 May 2020 20:47:12 +0000"  >&lt;p&gt;Oh, I see that you are. So what&apos;s different between what you&apos;re doing and what I did?&lt;/p&gt;</comment>
                            <comment id="17216" author="price" created="Thu, 28 May 2020 20:49:49 +0000"  >&lt;p&gt;Ah, you&apos;ve changed the report, and the responsible image to one I don&apos;t have a copy of.&lt;/p&gt;</comment>
                            <comment id="17218" author="arnaud.lefur" created="Thu, 28 May 2020 20:53:49 +0000"  >&lt;p&gt;right sorry, I had pasted two extra lines&lt;/p&gt;</comment>
                            <comment id="17221" author="cloomis" created="Fri, 29 May 2020 01:05:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-994&quot; title=&quot;Add INHERIT to image HDU&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-994&quot;&gt;&lt;del&gt;INSTRM-994&lt;/del&gt;&lt;/a&gt; did actually fix most of this &amp;#8211; the code had not actually been updated for 17787, but was for 17788. But there is one DRP issue in that:&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;(lsst-scipipe-1172c30) -bash-4.2$ ingestPfsImages.py /data/drp/cpl --mode=link /data/raw/2020-05-29/sps/PFSA0177881*
CameraMapper INFO: Loading exposure registry from /data/drp/cpl/registry.sqlite3
CameraMapper INFO: Loading calib registry from /data/drp/cpl/CALIB/calibRegistry.sqlite3
ingestPfs.parse WARN: Unable to find value for dataType (derived from IMAGETYP)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;That said, there are still problems. From guessed at the requirements in &lt;tt&gt;ingest.py&lt;/tt&gt; and &lt;tt&gt;translator.py&lt;/tt&gt; I will point out the following:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;IMAGETYP&lt;/tt&gt; will not/cannot be in the PFS headers. Please use &lt;tt&gt;DATA-TYP&lt;/tt&gt; instead. I think I have supplied both for long time, but cannot add &lt;tt&gt;IMAGETYP&lt;/tt&gt; any more. &lt;/p&gt;

&lt;p&gt;&lt;tt&gt;ARM&lt;/tt&gt; is now &lt;tt&gt;W_ARM&lt;/tt&gt; and &lt;tt&gt;SPECNUM&lt;/tt&gt; &lt;tt&gt;W_SPMOD&lt;/tt&gt;. Subaru requirements.&lt;/p&gt;

&lt;p&gt;There is now an &lt;tt&gt;OBJECT&lt;/tt&gt; card, although it will be &quot;##NODATA##&quot; (or whatever the gen2 simulator sends) until we get the instrument on the telescope.&lt;/p&gt;

&lt;p&gt;The headers in &lt;tt&gt;raw/2020-05-29/sps/PFSA0017788*.fits&lt;/tt&gt; can be used to test against.&lt;/p&gt;</comment>
                            <comment id="17222" author="price" created="Fri, 29 May 2020 18:04:07 +0000"  >&lt;p&gt;Fixed the ingest.&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;
(lsst-scipipe) pprice@tiger2-sumire:/scratch/pprice/pipe2d-591 $ echo lsst.obs.pfs.PfsMapper &amp;gt; _mapper
(lsst-scipipe) pprice@tiger2-sumire:/scratch/pprice/pipe2d-591 $ ingestPfsImages.py . --pfsConfigDir /projects/HSC/PFS/Subaru/drp/pfsDesign --config parse.pfsDesignId=1099528409104 -- /projects/HSC/PFS/Subaru/raw/2020-05-29/sps/PFSA01778812.fits 
CameraMapper INFO: Loading exposure registry from /scratch/pprice/pipe2d-591/registry.sqlite3
ingestPfs INFO: /projects/HSC/PFS/Subaru/raw/2020-05-29/sps/PFSA01778812.fits --&amp;lt;link&amp;gt;--&amp;gt; /scratch/pprice/pipe2d-591/2020-05-29/PFSA017788r1.fits
ingestPfs INFO: /projects/HSC/PFS/Subaru/drp/pfsDesign/pfsConfig-0x0000010001001010-017788.fits --&amp;lt;link&amp;gt;--&amp;gt; /scratch/pprice/pipe2d-591/pfsConfig/2020-05-29/pfsConfig-0x0000010001001010-017788.fits
(lsst-scipipe) pprice@tiger2-sumire:/scratch/pprice/pipe2d-591 $ ingestPfsImages.py . --pfsConfigDir /projects/HSC/PFS/Subaru/drp/pfsDesign --config parse.pfsDesignId=1099528409104 -- /projects/HSC/PFS/Subaru/raw/2020-05-29/sps/PFSA01778811.fits 
CameraMapper INFO: Loading exposure registry from /scratch/pprice/pipe2d-591/registry.sqlite3
ingestPfs INFO: /projects/HSC/PFS/Subaru/raw/2020-05-29/sps/PFSA01778811.fits --&amp;lt;link&amp;gt;--&amp;gt; /scratch/pprice/pipe2d-591/2020-05-29/PFSA017788b1.fits
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="17223" author="price" created="Fri, 29 May 2020 18:39:54 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="14413">INSTRM-994</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|02qps2:2i</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="93">2DDRP-2021 A</customfieldvalue>

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