<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:03:36 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-1163] Allow adding FITS cards to pfsConfig PHDU</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1163</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Per &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-1863&quot; title=&quot;Add a few FITS header to pfsConfig file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-1863&quot;&gt;&lt;del&gt;INSTRM-1863&lt;/del&gt;&lt;/a&gt;, we need to add a handful of cards to the PHDU of the pfsConfig files.&lt;/p&gt;

&lt;p&gt;From Slack discussions, I believe we agreed to add a &lt;tt&gt;header=[Dict&lt;span class=&quot;error&quot;&gt;&amp;#91;name, (value, comment)&amp;#93;&lt;/span&gt;]&lt;/tt&gt; argument to the &lt;tt&gt;pfsConfig&lt;/tt&gt; constructor. When the &lt;tt&gt;.write()&lt;/tt&gt; method is called, those cards will be written to the PHDU.&lt;/p&gt;

&lt;p&gt;Side note: for now we will add a &lt;tt&gt;PROP-ID&lt;/tt&gt; proposal card. Once the requirements are understood, there will likely be a new &lt;tt&gt;proposal&lt;/tt&gt; column in the config table, giving one proposal per fiber.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23253">PIPE2D-1163</key>
            <summary>Allow adding FITS cards to pfsConfig PHDU</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="-1">Unassigned</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Feb 2023 21:56:24 +0000</created>
                <updated>Wed, 22 Feb 2023 17:41:30 +0000</updated>
                            <resolved>Wed, 22 Feb 2023 17:41:30 +0000</resolved>
                                                                    <component>datamodel</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="32258" author="cloomis" created="Thu, 16 Feb 2023 21:20:57 +0000"  >&lt;p&gt;One obnoxiousness is that we need to add a &lt;tt&gt;DATE-OBS&lt;/tt&gt; card to the pfsConfig PHDU. &lt;b&gt;Actually&lt;/b&gt; making that match the PFS&lt;span class=&quot;error&quot;&gt;&amp;#91;AB&amp;#93;&lt;/span&gt; files would be hard. Also not really useful: the &lt;b&gt;visit&lt;/b&gt; is the thing which groups all the components together.&lt;/p&gt;

&lt;p&gt;So I think `DATE-OBS` should be added by &lt;tt&gt;PfsConfig._writeImp()&lt;/tt&gt;. &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="32259" author="price" created="Thu, 16 Feb 2023 22:19:53 +0000"  >&lt;p&gt;Is there a reason that can&apos;t be in the &lt;tt&gt;header&lt;/tt&gt;?&lt;/p&gt;</comment>
                            <comment id="32266" author="cloomis" created="Fri, 17 Feb 2023 19:56:37 +0000"  >&lt;p&gt;No. I probably just wanted to make someone else lie about the date. Nevermind.&lt;/p&gt;</comment>
                            <comment id="32273" author="cloomis" created="Fri, 17 Feb 2023 22:55:50 +0000"  >&lt;p&gt;We are required to add CHECKSUM/DATASUM. I think that just means adding &lt;tt&gt;checksum=True&lt;/tt&gt; to the &lt;tt&gt;fits.writeto()&lt;/tt&gt; call. Objections?&lt;/p&gt;

&lt;p&gt;Do we need the FiberType and TargetStatus definitions used in the &lt;tt&gt;fiberStatus&lt;/tt&gt; table to be in the PHDU? Can those be added to the header for the &lt;tt&gt;DESIGN&lt;/tt&gt; HDU &lt;b&gt;after&lt;/b&gt; writing the PHDU? We have been given a provisional pass on putting HIERARCH in the PHDUs, but can we remove them entirely without breaking code? Looks to me that they are &lt;b&gt;read&lt;/b&gt; from the &lt;tt&gt;DESIGN&lt;/tt&gt; HDU, so do not need to be written to the PHDU as well.&lt;/p&gt;</comment>
                            <comment id="32275" author="price" created="Fri, 17 Feb 2023 23:06:37 +0000"  >&lt;p&gt;I&apos;m fine with adding &lt;tt&gt;CHECKSUM&lt;/tt&gt; (we should do that everywhere) and moving the &lt;tt&gt;FiberStatus&lt;/tt&gt; and &lt;tt&gt;TargetType&lt;/tt&gt; to the table HDU.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="23249">INSTRM-1863</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|zzsw7z:</customfieldvalue>

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