<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:52:04 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>[SURVEY-10] Add tables in the operational database for 1D-DRP</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/SURVEY-10</link>
                <project id="10600" key="SURVEY">Survey operation on planning and tracking</project>
                    <description>&lt;p&gt;Currently, there are placeholders for the output of 1D-DRP in the spt_operational_database, but the tables are not necessarily consistent with the actual outputs. So, revisit the tables of the spt_operational_database and add new tables/columns if necessary.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13389">SURVEY-10</key>
            <summary>Add tables in the operational database for 1D-DRP</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="kiyoto.yabe">Kiyoto Yabe</assignee>
                                    <reporter username="kiyoto.yabe">Kiyoto Yabe</reporter>
                        <labels>
                            <label>opDB</label>
                    </labels>
                <created>Mon, 4 Mar 2019 02:06:42 +0000</created>
                <updated>Wed, 19 Feb 2020 04:32:58 +0000</updated>
                            <resolved>Wed, 19 Feb 2020 04:32:57 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                <comments>
                            <comment id="15104" author="msyktnk" created="Tue, 12 Mar 2019 06:49:53 +0000"  >&lt;p&gt;As part of SciDB proto-type v2 effort, Takita-san discovered the same problem here.&#160; Namely, not all the columns in the operational database can be populated by the 1d outputs.&#160; I discussed with him today and here is a list of comments/problems/questions.&#160; Please refer to the yellow boxes in &lt;a href=&quot;https://github.com/Subaru-PFS/spt_operational_database/blob/master/pfs_schema.pdf&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/spt_operational_database/blob/master/pfs_schema.pdf&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;In the SpecLine table, there is &apos;chi2&apos; column, but the LAM 1d does not output chi2 (it is not in the datamodel).&#160; In addition, it seems the LAM 1d pipeline measures line properties only for a single line (not sure which line it is), but that will probably be a separate ticket and let us not care about that in this ticket.&lt;/li&gt;
	&lt;li&gt;In the SpecParam table, &apos;redshift&apos; should be &apos;z&apos;.&#160; The 1d pipeline does not compute z_mean, z_median, nor z_percentile (again, they are not in the datamodel).&#160; It does generate P(z) and so we can compute them in theory, but I believe that should not be a database task.&#160; Could you remind me why we need those columns?&#160; If we need them, we should probably ask LAM 1d to compute them.&lt;/li&gt;
	&lt;li&gt;We are not sure what &apos;starTypeId&apos; means In the StarSpecParam table.&#160; The GA 1d pipeline computes metallicity for various elements.&#160; Do we want to store all of them?&#160; The reason why we need metallicity for the on-site operation is because we may use it to define &apos;doneness&apos;, correct?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="15105" author="takita" created="Tue, 12 Mar 2019 07:29:00 +0000"  >&lt;p&gt;I have some additional comments.&lt;/p&gt;

&lt;p&gt;For the metallicity column in the StarSpecParam table, I found &lt;span class=&quot;error&quot;&gt;&amp;#91;M/H&amp;#93;&lt;/span&gt; column so I can use this.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;(both LAM and GA) pipeline version and process date columns on &quot;SpecParam&quot; and &quot;StarSpecParam&quot; table.&lt;br/&gt;
I hope that these information are written in fits header or somewhere else.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;(GA) object ID.&lt;br/&gt;
I need some information in the fits file (file name or fits header) to specify the object ID.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="15107" author="naoki.yasuda" created="Tue, 12 Mar 2019 10:12:03 +0000"  >&lt;p&gt;When I have designed schema of operation database a few years ago, there is no datamodel for 1d spectra and I have just referenced SDSS database. So we need to update schema according to the current output of the pipeline. In addition, I have designed the schema can be used for science as well to some extent.&lt;/p&gt;

&lt;p&gt;&amp;gt; We are not sure what &apos;starTypeId&apos; means In the StarSpecParam table.&#160;&lt;/p&gt;

&lt;p&gt;starTypeId is simply an id number of &quot;StarType&quot; table defining star type like F0, G5 etc.&lt;/p&gt;

&lt;p&gt;I&apos;m not sure how detailed classification will be made by 1d GA pipeline.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="15129" author="enk" created="Sat, 16 Mar 2019 19:51:18 +0000"  >&lt;p&gt;I personally do not think it is necessary for PFS GA to include a spectral type for the star.&#160; That information is not necessarily provided by PFS spectra.&#160; The information that is provided (Teff, logg, etc.) is more informative than a spectral type.&lt;/p&gt;

&lt;p&gt;It&apos;s possible that we may want to include membership information.&#160; For example, is the star a member of M31, or is it a foreground star in the Milky Way?&#160; However, I do not think we should commit to providing that information in the data releases.&#160; I would prefer to the data users to make their own membership determinations.&lt;/p&gt;</comment>
                            <comment id="15132" author="rhl" created="Mon, 18 Mar 2019 18:31:56 +0000"  >&lt;p&gt;I think we should ask if other users of the DB will want a spectral type.  I defer to Evan&apos;s opinion for the GA folk, but I suspect that e.g. extra-galactic types will be more comfortable saying &lt;tt&gt;F6III&lt;/tt&gt; than a query on T_fff and g.&lt;/p&gt;</comment>
                            <comment id="15133" author="rhl" created="Mon, 18 Mar 2019 18:34:12 +0000"  >&lt;p&gt;Even if we don&apos;t update the information, I suspect that we&apos;ll need to record why a star was targeted (e.g. as an M31 giant).  This is a general requirement: that the users know why any object was targeted, and in general there may be multiple reasons.  &lt;br/&gt;
I&apos;m not sure how we deal with this for open use; probably via a bit that says &lt;tt&gt;OpenUse&lt;/tt&gt; and another table to join to with suitable details.&lt;/p&gt;</comment>
                    </comments>
                    <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|u000c0:</customfieldvalue>

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