<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:47:37 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-38] Fix raw input name interpretation according to data model</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-38</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Currently Spectrograph and Arm are swapped in obs_pfs/python/lsst/obs/pfs/ingest.py&lt;/p&gt;</description>
                <environment></environment>
        <key id="11002">PIPE2D-38</key>
            <summary>Fix raw input name interpretation according to data model</summary>
                <type id="1" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10503&amp;avatarType=issuetype">Bug</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>Sun, 17 Jul 2016 17:52:24 +0000</created>
                <updated>Tue, 9 Aug 2016 02:41:06 +0000</updated>
                            <resolved>Tue, 9 Aug 2016 02:41:06 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="11116" author="aritter" created="Sun, 17 Jul 2016 20:05:19 +0000"  >&lt;p&gt;Swapped &apos;spectrograph&apos; and &apos;armNum&apos; in obs_pfs/python/lsst/obs/pfs/ingest.py. See &lt;a href=&quot;https://github.com/Subaru-PFS/obs_pfs/tree/tickets/PIPE2D-38&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/obs_pfs/tree/tickets/PIPE2D-38&lt;/a&gt; &lt;/p&gt;</comment>
                            <comment id="11213" author="cloomis" created="Fri, 29 Jul 2016 18:41:17 +0000"  >&lt;p&gt;Sorry for having a review larger than the commit...&lt;/p&gt;

&lt;p&gt;1. can you add `base=10` to the conversion for visit (on line 49)? It will usually have leading 0s.&lt;br/&gt;
2. The actual arm mapping is currently blue=1, red=2, nir=3. 0 is unused. I&apos;ll suggest med=4, and reject anything else.&lt;br/&gt;
3. reject spectrograph == 0&lt;br/&gt;
4. given that is gets used five times, please use maxCcd = 4, etc. &lt;br/&gt;
5. as per swinbank, are there test cases?&lt;/p&gt;</comment>
                            <comment id="11219" author="aritter" created="Tue, 2 Aug 2016 03:30:35 +0000"  >&lt;p&gt;I don&apos;t quite get 1. and 4. Could you please explain &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;?&lt;br/&gt;
2. Adopted&lt;br/&gt;
3. Adopted&lt;br/&gt;
5. I added tests in obs_pfs/tests/Mapper.py (tickets/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-38&quot; title=&quot;Fix raw input name interpretation according to data model&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-38&quot;&gt;&lt;del&gt;PIPE2D-38&lt;/del&gt;&lt;/a&gt;)&lt;/p&gt;</comment>
                            <comment id="11221" author="cloomis" created="Wed, 3 Aug 2016 13:43:53 +0000"  >&lt;p&gt;1. `int(S)` interprets S as an octal number if there are leading 0s. Explicitly calling `int(S, base=10)` is safer for the sequence numbers, which will be &apos;001234&apos; for a while.&lt;br/&gt;
4.  The `4` (or `8`) which is used several times is always the same quantity: `maxCcds` or some name like that. Make it explicit.&lt;/p&gt;</comment>
                            <comment id="11222" author="aritter" created="Wed, 3 Aug 2016 18:45:19 +0000"  >&lt;p&gt;Added base=10 and maxCCDs=4. Ready for re-review...&lt;/p&gt;</comment>
                            <comment id="11223" author="cloomis" created="Wed, 3 Aug 2016 20:19:33 +0000"  >&lt;p&gt;OK by me. Feel free to merge.&lt;/p&gt;</comment>
                            <comment id="11226" author="aritter" created="Tue, 9 Aug 2016 02:41:06 +0000"  >&lt;p&gt;Merged with master&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="10909">INFRA-36</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|031spa:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="21">2014-15</customfieldvalue>
    <customfieldvalue id="22">2014-16</customfieldvalue>

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