<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:38:52 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-1737] Set OBJECT card a bit more carefully.</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1737</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;We get the value of the FITS &lt;tt&gt;OBJECT&lt;/tt&gt; card directly from the Gen2 &lt;tt&gt;PFS.OBJECT&lt;/tt&gt; key, which is set by the PFS &lt;tt&gt;pfs_kansoku&lt;/tt&gt; routines on Gen2 only when we (PFS) are running. To avoid stale values, we need to be a bit more careful.&lt;/p&gt;

&lt;p&gt;For SPS files (PFSA/PFSB), we can use the SM&apos;s &lt;tt&gt;lightSource&lt;/tt&gt; value. If it is &quot;pfi&quot;, use &lt;tt&gt;PFS.OBJECT&lt;/tt&gt;, otherwise just use the lightSource (&quot;dcb&quot;, &quot;dcb2&quot;, &quot;sunss&quot;, &quot;none&quot;). This does depend on the Gen2 kansoku scripts updating OBJECT correctly, but that is out of our hands.&lt;/p&gt;

&lt;p&gt;For AGCC, we should use &lt;tt&gt;PFS.OBJECT&lt;/tt&gt; if &lt;b&gt;any&lt;/b&gt; of the active lightSources are &quot;pfi&quot;. Else we should use &quot;unknown&quot; for now, I think. We will eventually have a mechanism for telling that we are on the TUE system, but we don&apos;t know the details of that yet.&lt;/p&gt;

&lt;p&gt;For MCS, we should probably use the same scheme as AGCC. Maybe use the pfsDesign if we are on the PFI? That feels wrong to me, given that we do have the design itself.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23025">INSTRM-1737</key>
            <summary>Set OBJECT card a bit more carefully.</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="1" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="cloomis">cloomis</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                            <label>EngRun</label>
                    </labels>
                <created>Mon, 3 Oct 2022 23:28:23 +0000</created>
                <updated>Fri, 19 May 2023 16:36:43 +0000</updated>
                                                                            <component>ics_utils</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="31537" author="yuki.moritani" created="Mon, 3 Oct 2022 23:56:58 +0000"  >&lt;p&gt;For PFI (PFSC/PFSD) file, I guess there is a case where test MCS camera (71M) is used.&lt;/p&gt;</comment>
                            <comment id="31692" author="yuki.moritani" created="Fri, 28 Oct 2022 10:45:59 +0000"  >&lt;p&gt;As talked in ICS/PFI+MCS telecon on 14 October 2022,&#160; I&apos;m trying to summarise the use cases:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15419_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15419/15419_Usecase_INSTRM1737.png&quot; title=&quot;Usecase_INSTRM1737.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15419&quot; file-preview-title=&quot;Usecase_INSTRM1737.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15419/_thumb_15419.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Because the subsystems are used rather independently off the telescope, the table is a little complicated (I&apos;m sorry). The right column shows proposed OBJECT card. Since there are many cases, I&apos;d propose simply to use PFS.OBJECT key when command is sent from Gen2, and use &quot;unknown&quot; for any other cases, if it is feasible (red letter in the figure)...&lt;/p&gt;</comment>
                            <comment id="31999" author="cloomis" created="Fri, 16 Dec 2022 10:59:29 +0000"  >&lt;p&gt;I&apos;m just committing the PFSA changes now, though PFSB will get those. The logic is close to what was proposed:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;if data-typ in {bias, dark}:
    object = &apos;dark&apos;
elif lightSource in {dub, dcb2, sunss}:
    object = lightSource
else:
    object = gen2.pfs.object &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;If this is OK I&apos;ll merge the ics_utils and ccdActor parts and tag and install those.&lt;/p&gt;</comment>
                            <comment id="32733" author="arnaud.lefur" created="Fri, 19 May 2023 16:35:28 +0000"  >&lt;p&gt;just adding another case for arc/flats taken on the telescope, set object to &apos;lamps&apos; ?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="23076">INSTRM-1767</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="15419" name="Usecase_INSTRM1737.png" size="60993" author="yuki.moritani" created="Fri, 28 Oct 2022 10:39:25 +0000"/>
                    </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|02qpjd:00r20060i200186406</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>