<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:48:21 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-90] Create Calib Task to create and write FiberTraces</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-90</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Please write a Calib Task to create and write FiberTraces. Currently the &apos;Flat&apos; used for the FiberTrace creation is read from the pipeline output CALIB/FLAT. The new task ConstructNormFlat now writes the CALIB/FLAT which cannot be used anymore to trace the apertures, so we need a new task to create the FiberTraces starting with raw Flats (xOffset=0.0).&lt;/p&gt;</description>
                <environment></environment>
        <key id="11166">PIPE2D-90</key>
            <summary>Create Calib Task to create and write FiberTraces</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</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="aritter">aritter</assignee>
                                    <reporter username="aritter">aritter</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Sep 2016 21:32:39 +0000</created>
                <updated>Tue, 11 Oct 2016 10:57:20 +0000</updated>
                            <resolved>Tue, 11 Oct 2016 10:57:20 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="11410" author="swinbank" created="Wed, 5 Oct 2016 00:55:26 +0000"  >&lt;p&gt;Is it necessary to expand the scope of the current sprint to include this? If possible, we should try to finish the tickets we have in play before we move on to anything else.&lt;/p&gt;</comment>
                            <comment id="11411" author="aritter" created="Wed, 5 Oct 2016 01:28:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-80&quot; title=&quot;Task-ify code for creating normalized flats&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-80&quot;&gt;&lt;del&gt;PIPE2D-80&lt;/del&gt;&lt;/a&gt; broke the existing code for tracing the apertures. Before we can merge &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-80&quot; title=&quot;Task-ify code for creating normalized flats&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-80&quot;&gt;&lt;del&gt;PIPE2D-80&lt;/del&gt;&lt;/a&gt; into master we need to make the FiberTraceSets persistable and change the existing code to include this&lt;/p&gt;</comment>
                            <comment id="11412" author="swinbank" created="Wed, 5 Oct 2016 01:36:01 +0000"  >&lt;p&gt;Ok, thanks for clarifying.&lt;/p&gt;</comment>
                            <comment id="11420" author="aritter" created="Sun, 9 Oct 2016 23:22:07 +0000"  >&lt;p&gt;See obs_pfs and drp_stella tickets/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-90&quot; title=&quot;Create Calib Task to create and write FiberTraces&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-90&quot;&gt;&lt;del&gt;PIPE2D-90&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Quick-start guide has been updated to include constructFiberTrace.&lt;br/&gt;
Once this ticket is reviewed and merged with master I will rebase &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-48&quot; title=&quot;Change extraction tasks to read FiberTrace parameters from disk&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-48&quot;&gt;&lt;del&gt;PIPE2D-48&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-80&quot; title=&quot;Task-ify code for creating normalized flats&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-80&quot;&gt;&lt;del&gt;PIPE2D-80&lt;/del&gt;&lt;/a&gt;, and &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-77&quot; title=&quot;Make sure there are no systematics in the normalized flat&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-77&quot;&gt;&lt;del&gt;PIPE2D-77&lt;/del&gt;&lt;/a&gt; on master and put them in review as well.&lt;/p&gt;</comment>
                            <comment id="11432" author="rhl" created="Mon, 10 Oct 2016 03:39:48 +0000"  >&lt;p&gt;The instructions include the line&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;
      constructFiberTrace.py /Users/azuri/spectra/pfs/PFS --rerun azuri/tmp --id field=FLAT dateObs=2015-12-22 arm=r spectrograph=2 --calibId calibDate=2015-12-22 arm=r spectrograph=2 visit=4
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is inconsistent with the other entries in the file.  Do we also need to ingest the fibreTraces?&lt;/p&gt;

&lt;p&gt;Also, why do you specify &lt;tt&gt;field=FLAT&lt;/tt&gt; not an explicit visit number, and why is the visit in the calibId?&lt;/p&gt;</comment>
                            <comment id="11433" author="rhl" created="Mon, 10 Oct 2016 03:47:59 +0000"  >&lt;p&gt;Is constructFiberTrace pushed to &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-90&quot; title=&quot;Create Calib Task to create and write FiberTraces&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-90&quot;&gt;&lt;del&gt;PIPE2D-90&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;
$ git pull
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), done.
From github.com:Subaru-PFS/drp_stella
   fdcf7c9..20927fb  master     -&amp;gt; origin/master
Current branch tickets/PIPE2D-90 is up to date.
$ find . -name constructFiberTrace.py
$ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="11434" author="aritter" created="Mon, 10 Oct 2016 03:49:25 +0000"  >&lt;p&gt;It&apos;s in obs_pfs. (RHL adds:  how did I miss that??)&lt;/p&gt;

&lt;p&gt; Trying to test the line in the quick-start guide now. &apos;visit&apos; definitely needs to be replaced with &apos;calibVersion&apos; since Friday. Fixed the path to $PFS_DATA&lt;/p&gt;</comment>
                            <comment id="11435" author="rhl" created="Mon, 10 Oct 2016 04:03:10 +0000"  >&lt;p&gt;Did you push the data model changes?  I don&apos;t see a tickets/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-90&quot; title=&quot;Create Calib Task to create and write FiberTraces&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-90&quot;&gt;&lt;del&gt;PIPE2D-90&lt;/del&gt;&lt;/a&gt; branch, and I don&apos;t see a ticket for this change to the data model.&lt;/p&gt;

&lt;p&gt;You didn&apos;t reply to my question about ingestion;  it seems inconsistent with the other calibration products like flats not to need to ingest the fiberTraces.&lt;/p&gt;</comment>
                            <comment id="11436" author="aritter" created="Mon, 10 Oct 2016 04:07:23 +0000"  >&lt;p&gt;Fixed the command in the quick-start guide and tested it. You&apos;re right - pfsFiberTraces do need to get ingested into the CALIB database. I replaced field=Flat with visit=5 to be consistent with the previous line reduceFlat...&lt;br/&gt;
Sorry, the datamodel changes are in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-68&quot; title=&quot;Add FiberTrace to data model&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-68&quot;&gt;&lt;del&gt;PIPE2D-68&lt;/del&gt;&lt;/a&gt;. Should have mentioned that...&lt;/p&gt;</comment>
                            <comment id="11437" author="rhl" created="Mon, 10 Oct 2016 04:31:54 +0000"  >&lt;p&gt;Hmm.  Don&apos;t I need to specify &lt;tt&gt;calibVersion=fiberTrace&lt;/tt&gt; in the --calibId?  And if I add that I get&lt;br/&gt;
{{&lt;br/&gt;
  File &quot;/Users/rhl/LSST/obs/pfs/python/lsst/obs/pfs/pfsMapper.py&quot;, line 97, in map&lt;br/&gt;
    location = super(PfsMapper, self).map(datasetType, copyId, write=write)&lt;br/&gt;
  File &quot;/Users/lsst/products/DarwinX86/miniconda/latest/envs/lsst-v12_1/opt/lsst/daf_persistence/python/lsst/daf/persistence/mapper.py&quot;, line 172, in map&lt;br/&gt;
    func = getattr(self, &apos;map_&apos; + datasetType)&lt;br/&gt;
AttributeError: &apos;PfsMapper&apos; object has no attribute &apos;map_linearizer&apos;&lt;br/&gt;
}}&lt;/p&gt;

&lt;p&gt;That&apos;s &lt;br/&gt;
{{&lt;br/&gt;
$ cd /Users/rhl/LSST/obs/pfs&lt;br/&gt;
$ git pull&lt;br/&gt;
Current branch tickets/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-90&quot; title=&quot;Create Calib Task to create and write FiberTraces&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-90&quot;&gt;&lt;del&gt;PIPE2D-90&lt;/del&gt;&lt;/a&gt; is up to date.&lt;br/&gt;
}}&lt;br/&gt;
so I think I have the right mapper.&lt;/p&gt;

&lt;p&gt;Can you modify the &lt;tt&gt;runDemo&lt;/tt&gt; script that I sent you and confirm that it works?&lt;/p&gt;

&lt;p&gt;Also, I&apos;m surprised to see that it uses `parseAndRun()` not `parseAndSubmit()` like the other tasks (e.g. reduceBias.py).  Can you explain?&lt;/p&gt;</comment>
                            <comment id="11438" author="aritter" created="Mon, 10 Oct 2016 04:46:17 +0000"  >&lt;p&gt;Please pull drp_stella and obs_pfs again (just did some changes). The &apos;map_linearizer&apos; error normally shows up when the &apos;config.isr.doLinearize = False&apos; is commented out what I only see in obs_pfs/config/pfs/dark.py.&lt;br/&gt;
I replaced &apos;parseAndRun()&apos; with &apos;parseAndSubmit()&apos; so now the parameter &apos;--cores 1&apos; needed to get added to the command line for constructFiberTrace... (change pushed in drp_stella)&lt;/p&gt;</comment>
                            <comment id="11440" author="rhl" created="Mon, 10 Oct 2016 22:04:57 +0000"  >&lt;p&gt;I was unable to confirm that the code is correct (as the full processing relies on &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-48&quot; title=&quot;Change extraction tasks to read FiberTrace parameters from disk&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-48&quot;&gt;&lt;del&gt;PIPE2D-48&lt;/del&gt;&lt;/a&gt;) but it does run!  I&apos;m passing this review for now, but we need to confirm that it&apos;s doing the right thing as part of the &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-48&quot; title=&quot;Change extraction tasks to read FiberTrace parameters from disk&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-48&quot;&gt;&lt;del&gt;PIPE2D-48&lt;/del&gt;&lt;/a&gt; review.&lt;/p&gt;</comment>
                            <comment id="11441" author="aritter" created="Tue, 11 Oct 2016 10:57:20 +0000"  >&lt;p&gt;Created issue to write test for pfsFiberTrace (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-98&quot; title=&quot;Add test to confirm that a FiberTraceSet reconstructed from pfsFiberTrace is identical to the original one&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-98&quot;&gt;&lt;del&gt;PIPE2D-98&lt;/del&gt;&lt;/a&gt;). Merged into master&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="11150">PIPE2D-80</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10102">PIPE2D-10</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="11211">PIPE2D-98</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_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PIPE2D-47</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|ii00no:</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="22">2014-16</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>