<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:55:29 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-619] Support multiple calibs on a single day</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-619</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;We need to be able to support the use of multiple calibs on a single day.&lt;/p&gt;

&lt;p&gt;That probably means using a date+time instead of just date in &lt;tt&gt;dateObs&lt;/tt&gt; and &lt;tt&gt;calibDate&lt;/tt&gt;. Calib ingestion may need some small tweaks to work with this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14638">PIPE2D-619</key>
            <summary>Support multiple calibs on a single day</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="price">price</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Jul 2020 19:45:25 +0000</created>
                <updated>Mon, 4 Jan 2021 20:23:20 +0000</updated>
                            <resolved>Thu, 24 Sep 2020 22:13:25 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="17492" author="price" created="Thu, 30 Jul 2020 20:33:14 +0000"  >&lt;p&gt;See also &lt;a href=&quot;http://jira.lsstcorp.org/browse/DM-26171&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;DM-26171&lt;/a&gt; (&quot;calibrations cannot be retrieved on the last day of a validity range&quot;).&lt;/p&gt;</comment>
                            <comment id="17593" author="price" created="Wed, 26 Aug 2020 21:33:02 +0000"  >&lt;p&gt;This requires changing both the raw and calib registries, and so will require re-ingesting everything.&lt;/p&gt;</comment>
                            <comment id="17597" author="price" created="Thu, 27 Aug 2020 23:37:21 +0000"  >&lt;p&gt;This is working now. &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hassan&quot; class=&quot;user-hover&quot; rel=&quot;hassan&quot;&gt;hassan&lt;/a&gt;, could you please review?&lt;/p&gt;</comment>
                            <comment id="17598" author="price" created="Thu, 27 Aug 2020 23:38:14 +0000"  >&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;
Changes required:
* calibDate in calib generation
* calibDate in calib ingestion
* obsDate in raw ingestion
* Calib lookup in Mapper

Let&apos;s validate using the PIPE2D-618 dataset, where we had to play games with the calib registry; such games should not be required now. We need to ingest everything from scratch, to include the times in the registry.

(lsst-scipipe) pprice@tiger2-sumire:/tigress/pprice/pipe2d-619 $ mkdir DATA
(lsst-scipipe) pprice@tiger2-sumire:/tigress/pprice/pipe2d-619 $ echo lsst.obs.pfs.PfsMapper &amp;gt; DATA/_mapper
(lsst-scipipe) pprice@tiger2-sumire:/tigress/pprice/pipe2d-619 $ ingestPfsImages.py DATA --pfsConfigDir /projects/HSC/PFS/Subaru/drp/pfsDesign --config parse.pfsDesignId=1099528409104 --ignore-ingested -- &lt;span class=&quot;code-quote&quot;&gt;&apos;/projects/HSC/PFS/Subaru/raw/2020-05-*/sps/PFSA*.fits&apos;&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&apos;/projects/HSC/PFS/Subaru/raw/2020-06-*/sps/PFSA*.fits&apos;&lt;/span&gt;
(lsst-scipipe) pprice@tiger2-sumire:/tigress/pprice/pipe2d-619 $ mkdir CALIB
(lsst-scipipe) pprice@tiger2-sumire:/tigress/pprice/pipe2d-619 $ ingestPfsCalibs.py DATA --calib CALIB --validity=1800 --doraise --mode=copy ~/pfs/drp_pfs_data/detectorMap/detectorMap-2019Jul-*.fits
(lsst-scipipe) pprice@tiger2-sumire:/tigress/pprice/pipe2d-619 $ generateCommands.py DATA --calib CALIB --rerun calibs --blocks=pipe2d_618 -j 20 ../pipe2d-618/pipe2d-618.yaml calibs.sh
generateCommands INFO: Start writing shell commands on &lt;span class=&quot;code-quote&quot;&gt;&apos;calibs.sh&apos;&lt;/span&gt;
generateCommands INFO: Processing calib block &lt;span class=&quot;code-quote&quot;&gt;&apos;pipe2d_618&apos;&lt;/span&gt;
generateCommands INFO: End writing shell commands on &lt;span class=&quot;code-quote&quot;&gt;&apos;calibs.sh&apos;&lt;/span&gt;
(lsst-scipipe) pprice@tiger2-sumire:/tigress/pprice/pipe2d-619 $ bash calibs.sh

constructFiberTrace.py DATA --calib=CALIB --rerun=fiberTrace --doraise --batch-type=smp --cores=10 --id visit=18228..18231
constructFiberTrace.py DATA --calib=CALIB --rerun=fiberTrace --doraise --batch-type=smp --cores=10 --id visit=18236..18238
constructFiberTrace.py DATA --calib=CALIB --rerun=fiberTrace --doraise --batch-type=smp --cores=10 --id visit=18245..18248
...

(lsst-scipipe) pprice@tiger2-sumire:/tigress/pprice/pipe2d-619 $ ingestPfsCalibs.py DATA --calib CALIB --validity 1800 --doraise --mode=copy DATA/rerun/fiberTrace/FIBERTRACE/pfsFiberTrace-*.fits

&amp;gt;&amp;gt;&amp;gt; from lsst.daf.persistence &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; Butler
&amp;gt;&amp;gt;&amp;gt; butler = Butler(&lt;span class=&quot;code-quote&quot;&gt;&quot;DATA&quot;&lt;/span&gt;, calibRoot=&lt;span class=&quot;code-quote&quot;&gt;&quot;/tigress/pprice/pipe2d-619/CALIB-test&quot;&lt;/span&gt;)
&amp;gt;&amp;gt;&amp;gt; butler.get(&lt;span class=&quot;code-quote&quot;&gt;&quot;fiberTrace_filename&quot;&lt;/span&gt;, visit=18228, arm=&lt;span class=&quot;code-quote&quot;&gt;&quot;r&quot;&lt;/span&gt;)[0]
&lt;span class=&quot;code-quote&quot;&gt;&apos;/tigress/pprice/pipe2d-619/CALIB-test/FIBERTRACE/pfsFiberTrace-2020-06-02-018228-r1.fits&apos;&lt;/span&gt;
&amp;gt;&amp;gt;&amp;gt; butler.get(&lt;span class=&quot;code-quote&quot;&gt;&quot;fiberTrace_filename&quot;&lt;/span&gt;, visit=18236, arm=&lt;span class=&quot;code-quote&quot;&gt;&quot;r&quot;&lt;/span&gt;)[0]
&lt;span class=&quot;code-quote&quot;&gt;&apos;/tigress/pprice/pipe2d-619/CALIB-test/FIBERTRACE/pfsFiberTrace-2020-06-02-018236-r1.fits&apos;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="17724" author="price" created="Thu, 24 Sep 2020 22:13:25 +0000"  >&lt;p&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|02qps2:ki</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>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>