<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:34:39 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-137] Support proper motion and parallax for targets in pfsDesign files</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/DAMD-137</link>
                <project id="10400" key="DAMD">Data Model</project>
                    <description>&lt;p&gt;As discussed on the #obsproc slack channel on 2022-10-02, we need to support fast-moving objects for PFS.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;GUIDESTARS&lt;/tt&gt; table &lt;em&gt;does&lt;/em&gt; have proper motion support as we were worried about extra-Galactic sources, but we didn&apos;t think about target stars.&lt;/p&gt;

&lt;p&gt;Please add &lt;tt&gt;epoch, pmRa, pmDec, parallax&lt;/tt&gt; to the &lt;tt&gt;DESIGN&lt;/tt&gt; table, with definitions identical to those for the guidestars.&lt;/p&gt;

&lt;p&gt;When designing plates we need to pay attention to these columns, but the exact observing date shouldn&apos;t matter (as we finalise the cobra positions just before observing).&lt;/p&gt;</description>
                <environment></environment>
        <key id="23026">DAMD-137</key>
            <summary>Support proper motion and parallax for targets in pfsDesign files</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="monodera">monodera</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                            <label>EngRun</label>
                    </labels>
                <created>Tue, 4 Oct 2022 14:16:04 +0000</created>
                <updated>Tue, 25 Jul 2023 12:12:07 +0000</updated>
                            <resolved>Tue, 25 Jul 2023 12:12:07 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                <comments>
                            <comment id="34035" author="monodera" created="Mon, 17 Jul 2023 02:08:24 +0000"  >&lt;p&gt;I made a pull request as follows.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/datamodel/pull/117&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/datamodel/pull/117&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I also ran pytest with &quot;python3 -m pytest -v ./tests/test_PfsConfig.py&quot; and appeared to succeed (log file is attached as log.pytest_test_PfsConfig).&lt;/p&gt;

&lt;p&gt;New parameters (epoch, pmRa, pmDec, and parallax) are put after fiberstatus argument when initializing the classes. If there is a more suitable place, please let me know.&lt;/p&gt;</comment>
                            <comment id="34067" author="monodera" created="Wed, 19 Jul 2023 04:15:37 +0000"  >&lt;p&gt;Apparently, the integration test fails because of no backward compatibility at this moment. I&apos;m wondering how it shoudl be implemented. Can I just ignore the existence of these new columns (epoch, pmRa, pmDec, and parallax) when reading a pfsDesign? (maybe throw a warning or info?)&lt;/p&gt;

&lt;p&gt;Here is the link to the line where columns are checked.&lt;br/&gt;
&lt;a href=&quot;https://github.com/Subaru-PFS/datamodel/blob/350664261593366ba36d28ab5a43900546be4429/python/pfs/datamodel/pfsConfig.py#L502&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/datamodel/blob/350664261593366ba36d28ab5a43900546be4429/python/pfs/datamodel/pfsConfig.py#L502&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The same also applies to &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-146&quot; title=&quot;Add a column for proposal ID in DESIGN/CONFIG table in pfsDesign/pfsConfig files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DAMD-146&quot;&gt;&lt;del&gt;DAMD-146&lt;/del&gt;&lt;/a&gt; (proposalId and obCode).&lt;/p&gt;</comment>
                            <comment id="34068" author="price" created="Wed, 19 Jul 2023 13:06:55 +0000"  >&lt;p&gt;There are examples of backward compatibility in the lines after the one you point to.&lt;/p&gt;

&lt;p&gt;If any of the columns is not present, set it to a reasonable default (&lt;tt&gt;epoch=&quot;J2000.0&quot;, pmRa=0, pmDec=0, parallax=0&lt;/tt&gt;).&lt;/p&gt;</comment>
                            <comment id="34109" author="arnaud.lefur" created="Mon, 24 Jul 2023 04:30:27 +0000"  >&lt;p&gt;Looks good, backward compatibility is working.&lt;br/&gt;
When also need to update opdb schema, eg adding proper columns in pfs_design_fiber and  modify the ingest script to populate those.&lt;/p&gt;</comment>
                            <comment id="34112" author="kiyoto.yabe" created="Mon, 24 Jul 2023 05:41:18 +0000"  >&lt;p&gt;I have updated the opDB schema. Please see the ticket branch for the column names.&lt;/p&gt;</comment>
                            <comment id="34153" author="arnaud.lefur" created="Tue, 25 Jul 2023 12:12:07 +0000"  >&lt;p&gt;All products has been merged and tagged as w.2023.30a.&lt;br/&gt;
Currently running on the summit / hilo&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="16158" name="log.pytest_test_PfsConfig" size="5028" author="monodera" created="Mon, 17 Jul 2023 02:06:34 +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:00r20060i2001864032</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="166">Eng12July</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>