<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:31:40 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-1078] Install Gaia DR2 Catalogue at Subaru</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1078</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;Following discussions in the last ICS/PFI telecon (&lt;a href=&quot;https://sumire.pbworks.com/w/page/141309765/ICS-PFI-MCS%20telecon%20on%20Sep%2018%202020)&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://sumire.pbworks.com/w/page/141309765/ICS-PFI-MCS%20telecon%20on%20Sep%2018%202020)&lt;/a&gt;&#160;we should have a local installation of the Gaia DR2 catalogue at Subaru. This would be a useful for guide stars, for fiber allocation software (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/FIBERALLOC-33&quot; title=&quot;How to deal with manually provided/cached catalogues for guide star selection?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;FIBERALLOC-33&quot;&gt;FIBERALLOC-33&lt;/a&gt;) etc.&lt;/p&gt;

&lt;p&gt;Having a local copy would preclude problems accessing guide stars due to external network issues.&lt;/p&gt;

&lt;p&gt;The catalogue should be queryable, so ingested into a postgres or equivalent database instance.&lt;/p&gt;

&lt;p&gt;The size of the Gaia DR2 in CSV format is 550 GB. If the size is an issue, it may be possible to store a only subset of fields. But this needs to be discussed further.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14903">INSTRM-1078</key>
            <summary>Install Gaia DR2 Catalogue at Subaru</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="eric">eric</assignee>
                                    <reporter username="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Sep 2020 20:09:50 +0000</created>
                <updated>Fri, 13 Aug 2021 10:57:27 +0000</updated>
                            <resolved>Fri, 13 Aug 2021 10:57:27 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="17892" author="hassan" created="Fri, 16 Oct 2020 13:48:49 +0000"  >&lt;p&gt;The Gaia Archives team were contacted to confirm that the contents of the Gaia DR2 CSV files are consistent with that in the Gaia Archive. They have confirmed that.&lt;/p&gt;</comment>
                            <comment id="18012" author="hassan" created="Fri, 30 Oct 2020 00:08:05 +0000"  >&lt;p&gt;Re-assigned ticket to Eric Jeschke, as he will be the responsible for ingesting the downloaded CSV files to the postgres database.&lt;/p&gt;</comment>
                            <comment id="18104" author="eric" created="Tue, 1 Dec 2020 22:51:45 +0000"  >&lt;p&gt;The Gaia CSV files were ingested into the Subaru Gen2 &quot;star_catalog&quot; Postgres database as table &quot;gaia&quot;.&#160; I have attached the schema.&#160; The table has been clustered and an index made using the Q3C Postgres extension to allow very fast searches on RA/DEC/radius coordinates (all in degrees).&#160; The table contains the entirety of the CSV files.&lt;/p&gt;

&lt;p&gt;Here is an example SQL query:&lt;br/&gt;
psql (11.2)&lt;br/&gt;
Type &quot;help&quot; for help.&lt;/p&gt;

&lt;p&gt;star_catalog=# SELECT source_id, ra, dec, phot_rp_mean_mag, parallax, pmra, pmdec &#160;FROM gaia WHERE q3c_radial_query(ra, dec, 10.3, 0.4, 0.076);&lt;br/&gt;
&#160; &#160; &#160; source_id &#160; &#160; &#160;| &#160; &#160; &#160; &#160;ra &#160; &#160; &#160; &#160;| &#160; &#160; &#160; &#160;dec &#160; &#160; &#160; &#160;| phot_rp_mean_mag |&lt;br/&gt;
&#160; &#160; &#160; parallax &#160; &#160; &#160; | &#160; &#160; &#160; &#160;pmra &#160; &#160; &#160; &#160;| &#160; &#160; &#160; &#160;pmdec &#160; &#160; &#160; &#160;&lt;br/&gt;
--------------------&lt;del&gt;&lt;ins&gt;&lt;/del&gt;----------------&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;-----------------&lt;del&gt;&lt;ins&gt;&lt;/del&gt;-----------------&lt;/ins&gt;&lt;br/&gt;
--------------------&lt;del&gt;&lt;ins&gt;&lt;/del&gt;------------------&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;--------------------&lt;br/&gt;
&#160;2543114289888915712 | 10.3237413085593 | 0.330040149611898 | &#160; &#160; &#160; &#160; &#160;14.7414 |&lt;br/&gt;
&#160; &#160; 1.57129893515104 | &#160; 2.50609492529233 | &#160; -10.8380693317631&lt;br/&gt;
&#160;2543302920556836096 | 10.2431758026912 | 0.354154114747787 | &#160; &#160; &#160; &#160; &#160;17.2081 |&lt;br/&gt;
&#160; &#160;0.327389891246227 | &#160;-2.21040371907556 | &#160; -1.80819707672227&lt;br/&gt;
&#160;2543115251960840960 | 10.2655912179137 | 0.347096406226759 | &#160; &#160; &#160; &#160; &#160;10.0711 |&lt;br/&gt;
&#160; &#160; &#160;3.4463085813933 | &#160;-37.6061949980034 | &#160; -27.3090372266146&lt;br/&gt;
&#160;2543302924852598016 | 10.2546094351212 | 0.358317143282865 | &#160; &#160; &#160; &#160; &#160;15.9077 |&lt;br/&gt;
&#160; &#160; 2.76051410620393 | &#160;-4.91943190679037 | &#160; -43.7051987345144&lt;br/&gt;
...&lt;br/&gt;
...&lt;br/&gt;
&#160;&lt;br/&gt;
The q3c_radial_query requires you to specify the words &quot;ra, &quot;dec&quot; then ra, dec, radius (in degrees).&lt;br/&gt;
&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13224/13224_gaia_schema.sql&quot; title=&quot;gaia_schema.sql attached to INSTRM-1078&quot;&gt;gaia_schema.sql&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="21822" author="hassan" created="Fri, 13 Aug 2021 10:57:27 +0000"  >&lt;p&gt;Installed in Dec 2020.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="14672">FIBERALLOC-33</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14913">INSTRM-1081</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13224" name="gaia_schema.sql" size="3873" author="eric" created="Tue, 1 Dec 2020 22:51:39 +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|zzs2s0:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>