<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:33:31 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>[INSTRM-1258] Update the fiberids.py accessor for the grandfibermap file</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1258</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;The raw data/fiberids/grandfibermap.xxx files are supposed to be wrapped by the code in fiberids.py. That still reads in the original JEG file, without all the changes in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-1195&quot; title=&quot;Update grandfibermap following the recent discussions and requests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-1195&quot;&gt;&lt;del&gt;INSTRM-1195&lt;/del&gt;&lt;/a&gt;, etc. Fix.&lt;/p&gt;

&lt;p&gt;A few methods might be used by ics_cobraCharmer but I suspect not many, since  necessary columns were not present.&lt;/p&gt;

&lt;p&gt;The original short (&quot;mf&quot;, etc) column names in the data file were replaced by more meaningful ones (&quot;fiberInModuleId&quot;, etc). Should decide whether anyone cares; perhaps just drop them.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15575">INSTRM-1258</key>
            <summary>Update the fiberids.py accessor for the grandfibermap file</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</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="hassan">hassan</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                            <label>SPS</label>
                    </labels>
                <created>Tue, 27 Apr 2021 15:02:04 +0000</created>
                <updated>Thu, 3 Jun 2021 16:10:08 +0000</updated>
                            <resolved>Thu, 6 May 2021 20:27:50 +0000</resolved>
                                                                    <component>pfs_utils</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="19234" author="rhl" created="Wed, 28 Apr 2021 13:20:04 +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;
    Add proper module ID (no board)
    Add methods as needed
    cobraId vs. scienceFiberId? Why two, really?
    fiducials? Separate class, probably.
    Identify engineering/blank holes?
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;While you are working on this, can you file a ticket for each of these and include their numbers in this list?  We shouldn&apos;t have any TODOs that aren&apos;t associated with a jira ticket.&lt;/p&gt;</comment>
                            <comment id="19239" author="cloomis" created="Wed, 28 Apr 2021 23:15:29 +0000"  >&lt;p&gt;[ That is from an old comment in fiberids.py, I believe. Looks familiar. Did generate requests on some if the recent GFM tickets. Comment should be removed/updated. ]&lt;/p&gt;

&lt;p&gt;From the &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-1195&quot; title=&quot;Update grandfibermap following the recent discussions and requests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-1195&quot;&gt;&lt;del&gt;INSTRM-1195&lt;/del&gt;&lt;/a&gt;, etc. work:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;module ID added&lt;/li&gt;
	&lt;li&gt;cobraId/fiberHoleId/scienceFiberId/fiberId better understood and made more sane.&lt;/li&gt;
	&lt;li&gt;eng/blank rows added.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;That leaves the fiducial fibers and the &quot;other methods&quot;. &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-1259&quot; title=&quot;Add better accessors for SuNSS fiber info&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-1259&quot;&gt;&lt;del&gt;INSTRM-1259&lt;/del&gt;&lt;/a&gt; addresses the &quot;other methods&quot;.&lt;/p&gt;

&lt;p&gt;The fiducial fibers are described in another &lt;tt&gt;pfs_utils/data/fiberids/&lt;/tt&gt;  data file, which is read in and used directly by some part of the per-exposure/per-field fps/mcs calibration scheme. I do not know enough about that to say whether/how that API should be formalized.&lt;/p&gt;</comment>
                            <comment id="19252" author="hassan" created="Mon, 3 May 2021 22:11:55 +0000"  >&lt;p&gt;Main problem is that the reading in of the SuNSS fiberId was incorrect due to the wrong datatype for that column being specified. That has been fixed and a regression test added to trap situations in the future where changes are made to the data or corresponding fiber-related utilities.&lt;/p&gt;

&lt;p&gt;Changes are captured in &lt;a href=&quot;https://github.com/Subaru-PFS/pfs_utils/pull/29&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/pfs_utils/pull/29&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="19274" author="rhl" created="Wed, 5 May 2021 22:39:48 +0000"  >&lt;p&gt;See GH.  I&apos;m not sure that I like the masked array choice, and there&apos;s at least one typo.&lt;/p&gt;</comment>
                            <comment id="19275" author="rhl" created="Thu, 6 May 2021 13:14:29 +0000"  >&lt;p&gt;As of this morning the values of &lt;tt&gt;fiberIds.sunssFiberId&lt;/tt&gt; do not correspond to the values in the file.  Please change this back; I&apos;d like to see &lt;tt&gt;&quot;emp&quot;&lt;/tt&gt; or &lt;tt&gt;None&lt;/tt&gt; not &lt;tt&gt;--&lt;/tt&gt;.  The same goes for other missing fields, please either return the value in the file or &lt;tt&gt;None&lt;/tt&gt;/&lt;tt&gt;NaN&lt;/tt&gt; and remove the use of masked arrays.&lt;/p&gt;</comment>
                            <comment id="19276" author="hassan" created="Thu, 6 May 2021 15:09:12 +0000"  >&lt;p&gt;In the latest push to the &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-1258&quot; title=&quot;Update the fiberids.py accessor for the grandfibermap file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-1258&quot;&gt;&lt;del&gt;INSTRM-1258&lt;/del&gt;&lt;/a&gt; I&apos;ve removed the use of &lt;tt&gt;MaskedArrays&lt;/tt&gt;. But a problem remains in the handling of columns of integer type. As far as I can see, it is not possible to assign a value of &lt;tt&gt;None&lt;/tt&gt; or &lt;tt&gt;np.nan&lt;/tt&gt;. A legal integer value as the fill value is of course fine to do, and is currently 65535. If &lt;tt&gt;None&lt;/tt&gt; or &lt;tt&gt;np.nan&lt;/tt&gt; really required I need technical advice. &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=price&quot; class=&quot;user-hover&quot; rel=&quot;price&quot;&gt;price&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="19277" author="hassan" created="Thu, 6 May 2021 15:20:49 +0000"  >&lt;p&gt;Following slack discussion, a fill value of 65535 for unsigned integer fields is acceptable.&lt;/p&gt;</comment>
                            <comment id="19278" author="rhl" created="Thu, 6 May 2021 16:52:45 +0000"  >&lt;p&gt;If it&apos;s not too late, can we rename &lt;tt&gt;MISSING_VALUE_UINT16&lt;/tt&gt; to e.g. &lt;tt&gt;MISSING_VALUE&lt;/tt&gt;?  The fact that that&apos;s a U16 number is irrelevant.&lt;/p&gt;</comment>
                            <comment id="19279" author="hassan" created="Thu, 6 May 2021 16:54:41 +0000"  >&lt;p&gt;Not too late, and one of Paul&apos;s comments. Ok for &lt;tt&gt;MISSING_VALUE_INTEGER&lt;/tt&gt;? If so, already pushed.&lt;/p&gt;</comment>
                            <comment id="19280" author="rhl" created="Thu, 6 May 2021 17:35:28 +0000"  >&lt;p&gt;That&apos;s OK. The code will look like:&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;
&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; fieldId == MISSING_VALUE_INTEGER:
    &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and I personally think that the &lt;tt&gt;_INTEGER&lt;/tt&gt; detracts from the readability as the type is irrelevant, but go with what you prefer.&lt;/p&gt;</comment>
                            <comment id="19281" author="hassan" created="Thu, 6 May 2021 17:44:34 +0000"  >&lt;p&gt;I would also prefer to remove &lt;tt&gt;_INTEGER&lt;/tt&gt;, but problem is that this value is only used for the integer types. The float types use &lt;tt&gt;np.nan&lt;/tt&gt;. The string types propagate &lt;tt&gt;-&lt;/tt&gt; or &lt;tt&gt;emp&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="19282" author="hassan" created="Thu, 6 May 2021 17:51:15 +0000"  >&lt;p&gt;I&apos;ve gone with &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=rhl&quot; class=&quot;user-hover&quot; rel=&quot;rhl&quot;&gt;rhl&lt;/a&gt;&apos;s suggestion and renamed to &lt;tt&gt;MISSING_VALUE&lt;/tt&gt;. It&apos;s probably the most optimal name.&lt;/p&gt;</comment>
                            <comment id="19284" author="hassan" created="Thu, 6 May 2021 20:27:50 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="15591">PIPE2D-833</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="15556">INSTRM-1249</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="15578">INSTRM-1260</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="15577">INSTRM-1259</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="16705">INSTRM-1288</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="15574">DAMD-110</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|02qpuc:i6001gr068fhw9qo4o0m8r</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="107">SM1PD-2021 A8</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>