<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:33:56 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>[DAMD-71] TargetType should be defined in datamodel.txt and headers</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/DAMD-71</link>
                <project id="10400" key="DAMD">Data Model</project>
                    <description>&lt;p&gt;Define the values of the &lt;tt&gt;TargetType&lt;/tt&gt; enum in &lt;tt&gt;datamodel.txt&lt;/tt&gt; along with a new enum, &lt;tt&gt;FiberStatus&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Also write this definitions in all the relevant product headers (pfsObject, pfsMerged etc) so they are self-describing.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;TargetType&lt;/tt&gt; enum should contain the following values:&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;
SCIENCE
SKY
FLUXSTD
UNASSIGNED
ENGINEERING
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The new &lt;tt&gt;ENGINEERING&lt;/tt&gt; value is to accommodate data where the engineering fibers are illuminated. Note that the fiber characteristics (broken, blocked etc) have been moved. They are now in a new enumeration, &lt;tt&gt;FiberStatus&lt;/tt&gt; (or better name), with values:&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;
GOOD
BROKENFIBER
BLOCKED
BLACKSPOT
UNILLUMINATED
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The value &lt;tt&gt;BROKENFIBER&lt;/tt&gt; replaces &lt;tt&gt;BROKEN&lt;/tt&gt; (which is confusing as &apos;BROKEN&apos; could indicate a broken cobra or a fiber). A perfectly functioning fiber is labelled with &lt;tt&gt;FiberStatus==GOOD&lt;/tt&gt;.&lt;/p&gt;



&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="14166">DAMD-71</key>
            <summary>TargetType should be defined in datamodel.txt and headers</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="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 Dec 2019 19:31:18 +0000</created>
                <updated>Mon, 4 Jan 2021 20:23:04 +0000</updated>
                            <resolved>Mon, 23 Mar 2020 15:53:06 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="16837" author="price" created="Wed, 11 Mar 2020 18:36:16 +0000"  >&lt;p&gt;I don&apos;t think the &lt;tt&gt;TargetType&lt;/tt&gt; and &lt;tt&gt;FiberStatus&lt;/tt&gt; are orthogonal, as your design implies. If a fiber has a status of &lt;tt&gt;BLOCKED&lt;/tt&gt;, it can&apos;t be targeted to anything. Similarly for all other fiber statuses than &lt;tt&gt;GOOD&lt;/tt&gt;. I suggest that instead of being a separate enumeration, the statuses you have identified should all be included in &lt;tt&gt;TargetType&lt;/tt&gt;. We could rename &lt;tt&gt;TargetType&lt;/tt&gt; to &lt;tt&gt;FiberTarget&lt;/tt&gt; or similar to reflect the all-encompassing nature.&lt;/p&gt;</comment>
                            <comment id="16838" author="rhl" created="Wed, 11 Mar 2020 18:47:29 +0000"  >&lt;p&gt;Please keep the separate.  For example, we could design a plate and then discover that a fibre is broken.  They capture different sorts of information.&lt;/p&gt;

&lt;p&gt;What is the downside?&lt;/p&gt;</comment>
                            <comment id="16839" author="price" created="Wed, 11 Mar 2020 18:53:44 +0000"  >&lt;p&gt;The only downside is extra work for something unnecessary, but I&apos;m happy to do it if you think it&apos;s important.&lt;/p&gt;</comment>
                            <comment id="16840" author="price" created="Wed, 11 Mar 2020 21:01:05 +0000"  >&lt;p&gt;Here&apos;s an example of the values and definitions in the FITS header:&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;
HIERARCH TargetType.SCIENCE = 1 / science target
HIERARCH TargetType.SKY = 2 / blank sky; used &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; sky subtraction
HIERARCH TargetType.FLUXSTD = 3 / flux standard; used &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; fluxcal
HIERARCH TargetType.UNASSIGNED = 4 / no particular target
HIERARCH TargetType.ENGINEERING = 5 / engineering fiber
HIERARCH FiberStatus.GOOD = 1 / working normally
HIERARCH FiberStatus.BROKENFIBER = 2 / broken; ignore any flux
HIERARCH FiberStatus.BLOCKED = 3 / temporarily blocked; ignore any flux
HIERARCH FiberStatus.BLACKSPOT = 4 / hidden behind spot; ignore any flux
HIERARCH FiberStatus.UNILLUMINATED = 5 / not illuminated; ignore any flux
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="16841" author="price" created="Wed, 11 Mar 2020 22:25:04 +0000"  >&lt;p&gt;I&apos;ve split &lt;tt&gt;TargetType&lt;/tt&gt; into &lt;tt&gt;TargetType&lt;/tt&gt; and &lt;tt&gt;FiberStatus&lt;/tt&gt;, improved the python docs and put docs in the FITS headers.&lt;/p&gt;</comment>
                            <comment id="16842" author="price" created="Wed, 11 Mar 2020 22:29:00 +0000"  >&lt;p&gt;Oh, this will need a new drp_stella_data. I&apos;ll start that now, and hopefully submit it later tonight.&lt;/p&gt;

&lt;p&gt;There are conflicts between this work and &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-67&quot; title=&quot;Update PfsObject to track input visits in the OBSERVATIONS table&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DAMD-67&quot;&gt;&lt;del&gt;DAMD-67&lt;/del&gt;&lt;/a&gt;, which will need to be resolved.&lt;/p&gt;</comment>
                            <comment id="16857" author="price" created="Fri, 13 Mar 2020 13:25:33 +0000"  >&lt;p&gt;It&apos;s important to point out that this changes &lt;tt&gt;PfsDesign&lt;/tt&gt; and &lt;tt&gt;PfsConfig&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="16922" author="price" created="Mon, 23 Mar 2020 15:53:06 +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="14140">PIPE2D-492</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|02qprn:8</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>