<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:37:38 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-1618] update opdb schema to cope with the new pfsDesign finalize logic</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1618</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;So, some book-keeping details needs to be settled regarding our new pfsDesign finalize logic : &lt;/p&gt;

&lt;p&gt;We&apos;ll have 4 new columns : &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;target_ra_final (proper motion tweaking)&lt;/li&gt;
	&lt;li&gt;target_dec_final (proper motion tweaking)&lt;/li&gt;
	&lt;li&gt;pfi_final_x_mm (proper motion + airmass)&lt;/li&gt;
	&lt;li&gt;pfi_final_y_mm (proper motion + airmass)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;to track them, we (probably) need to change opdb schema.&lt;/p&gt;

&lt;p&gt;so right now when IIC declareCurrentPfsDesign is called, IIC load the design and insert the &quot;raw&quot; design into those tables (&lt;em&gt;pfs_design&lt;/em&gt;, &lt;em&gt;pfs_design_fiber&lt;/em&gt; and &lt;em&gt;pfs_design_agc&lt;/em&gt;, thanks &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiyoto.yabe&quot; class=&quot;user-hover&quot; rel=&quot;kiyoto.yabe&quot;&gt;Kiyoto Yabe&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;we need a place to store those new information and one could argue that &lt;em&gt;pfs_design_fiber&lt;/em&gt; has similar columns:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;target_ra&lt;/li&gt;
	&lt;li&gt;target_dec&lt;/li&gt;
	&lt;li&gt;pfi_nominal_x_mm&lt;/li&gt;
	&lt;li&gt;pfi_nominal_y_mm&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;But we think with &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; that we should keep the &quot;raw designed&quot; values and adding new columns there is not an option.&lt;/p&gt;

&lt;p&gt;There is also the &lt;em&gt;pfs_config_fiber&lt;/em&gt; table but it&apos;s only written &lt;b&gt;after&lt;/b&gt; a convergence.&lt;br/&gt;
But we strongly think that you always want to write those designed values &lt;b&gt;before&lt;/b&gt; you converge.&lt;/p&gt;

&lt;p&gt;One solution would be to add a new table, something like :&lt;br/&gt;
pfs_design_fiber_final:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;pfs_design_id&lt;/li&gt;
	&lt;li&gt;fiber_id&lt;/li&gt;
	&lt;li&gt;target_ra_final&lt;/li&gt;
	&lt;li&gt;target_dec_final&lt;/li&gt;
	&lt;li&gt;pfi_final_x_mm&lt;/li&gt;
	&lt;li&gt;pfi_final_y_mm&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Which get written, when the tweaking is done, before starting the convergence.&lt;br/&gt;
Any idea, objections ? &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;&lt;/p&gt;


</description>
                <environment></environment>
        <key id="22806">INSTRM-1618</key>
            <summary>update opdb schema to cope with the new pfsDesign finalize logic</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="10100" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="No further work should be done on this.">Won&apos;t Fix</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="kiyoto.yabe">Kiyoto Yabe</assignee>
                                    <reporter username="arnaud.lefur">arnaud.lefur</reporter>
                        <labels>
                            <label>EngRun</label>
                    </labels>
                <created>Wed, 1 Jun 2022 20:12:46 +0000</created>
                <updated>Wed, 31 Aug 2022 19:07:46 +0000</updated>
                            <resolved>Wed, 31 Aug 2022 19:07:46 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                            <comment id="30980" author="kiyoto.yabe" created="Fri, 3 Jun 2022 03:38:05 +0000"  >&lt;p&gt;That sounds reasonable and easy to me.&lt;/p&gt;</comment>
                            <comment id="30990" author="kiyoto.yabe" created="Mon, 6 Jun 2022 10:32:03 +0000"  >&lt;p&gt;Just added the following table:&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;class &lt;/span&gt;pfs_design_fiber_final(Base):
    &apos;&apos;&apos;Pre-operations information &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; each fiber (just before the cobra configuration).
    &apos;&apos;&apos;
    __tablename__ = &lt;span class=&quot;code-quote&quot;&gt;&apos;pfs_design_fiber_final&apos;&lt;/span&gt;
    __table_args__ = (UniqueConstraint(&lt;span class=&quot;code-quote&quot;&gt;&apos;pfs_design_id&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;fiber_id&apos;&lt;/span&gt;),
                      ForeignKeyConstraint([&lt;span class=&quot;code-quote&quot;&gt;&apos;pfs_design_id&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;fiber_id&apos;&lt;/span&gt;],
                                           [&lt;span class=&quot;code-quote&quot;&gt;&apos;pfs_design_fiber.pfs_design_id&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;pfs_design_fiber.fiber_id&apos;&lt;/span&gt;]),
                      {})

    pfs_design_id = Column(BigInteger, primary_key=True, autoincrement=False)
    fiber_id = Column(&lt;span class=&quot;code-object&quot;&gt;Integer&lt;/span&gt;, primary_key=True, autoincrement=False)
    target_final_ra = Column(FLOAT, comment=&lt;span class=&quot;code-quote&quot;&gt;&apos;Final R.A. of the target at the observing time&apos;&lt;/span&gt;)
    target_final_dec = Column(FLOAT, comment=&lt;span class=&quot;code-quote&quot;&gt;&apos;Final Dec. of the target at the observing time&apos;&lt;/span&gt;)
    pfi_final_x_mm = Column(REAL, comment=&lt;span class=&quot;code-quote&quot;&gt;&apos;Final designed x-position on the PFI [mm]&apos;&lt;/span&gt;)
    pfi_final_y_mm = Column(REAL, comment=&lt;span class=&quot;code-quote&quot;&gt;&apos;Final designed y-position on the PFI [mm]&apos;&lt;/span&gt;)&#160;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="31007" author="kiyoto.yabe" created="Fri, 10 Jun 2022 00:18:38 +0000"  >&lt;p&gt;I&apos;m just wondering if we need something like the time of the convergence. We probably use the same design at different times. Can we get visitId before populating this table? &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;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=arnaud.lefur&quot; class=&quot;user-hover&quot; rel=&quot;arnaud.lefur&quot;&gt;arnaud.lefur&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="31119" author="hassan" created="Sat, 9 Jul 2022 02:51:35 +0000"  >&lt;p&gt;Has the &lt;tt&gt;visitId&lt;/tt&gt; been accessible &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiyoto.yabe&quot; class=&quot;user-hover&quot; rel=&quot;kiyoto.yabe&quot;&gt;Kiyoto Yabe&lt;/a&gt;? Can we also close this ticket?&lt;/p&gt;</comment>
                            <comment id="31120" author="kiyoto.yabe" created="Sat, 9 Jul 2022 03:33:50 +0000"  >&lt;p&gt;I think we need to think about the mechanism further with especially &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;/p&gt;</comment>
                            <comment id="31266" author="kiyoto.yabe" created="Wed, 31 Aug 2022 18:57:59 +0000"  >&lt;p&gt;According to discussions in the previous meeting, we don&apos;t need an intermediate table to finalize designs. So, can we close this ticket as Won&apos;t fix?&lt;/p&gt;</comment>
                            <comment id="31267" author="hassan" created="Wed, 31 Aug 2022 19:07:46 +0000"  >&lt;p&gt;Agreed. Marked it as won&apos;t fix.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22713">INSTRM-1569</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22733">INSTRM-1577</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22790">INSTRM-1609</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22714">INSTRM-1570</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|zzsui6:zzzz</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="145">PreEngRun06June</customfieldvalue>
    <customfieldvalue id="152">preEngRun07Sep</customfieldvalue>

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