<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:44:48 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>[OBSPROC-54] Assignment of input_catalog_id</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/OBSPROC-54</link>
                <project id="11003" key="OBSPROC">PFS observation processing/procedure</project>
                    <description>&lt;p&gt;Currently, the primary key of the &lt;tt&gt;input_catalog&lt;/tt&gt; table, &lt;tt&gt;input_catalog_id&lt;/tt&gt; , is hard-coded like&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-none&quot;&gt;
  catId | description
 -------|--------------------------------------------------
      0 | Simulated catalog
      1 | Gaia Data Release 1
      2 | Gaia Data Release 2
      3 | Gaia Early Data Release 3
      4 | Gaia Data Release 3
      5 | HSC-SSP Public Data Release 1 (Wide)
      6 | HSC-SSP Public Data Release 1 (Deep+UltraDeep)
      7 | HSC-SSP Public Data Release 2 (Wide)
      8 | HSC-SSP Public Data Release 2 (Deep+UltraDeep)
      9 | HSC-SSP Public Data Release 3 (Wide)
     10 | HSC-SSP Public Data Release 3 (Deep+UltraDeep)
     11 | HSC-SSP Public Data Release 4 (Wide)
     12 | HSC-SSP Public Data Release 4 (Deep+UltraDeep)
   1001 | Sky positions from S21A HSC-SSP (Wide)
   1002 | Sky positions from PS1
   1003 | Sky positions from Gaia
   1004 | Sky positions for regions without PS1 data
  90001 | Messier 15 stars for the engineering observation
  90002 | NGC1904 for the engineering run in November 2022
  90003 | NGC2419 for the engineering run in November 2022
  90004 | NGC5272 for the engineering run in February 2023
  90005 | NGC5904 for the engineering run in February 2023
  90006 | NGC7078 for the engineering run in July 2023
  90007 | NGC7089 for the engineering run in July 2023
  90008 | NGC7099 for the engineering run in July 2023&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This implementation would work when the number of entries is small. For the openuse operation, we need to think about how to handle input catalogs provided by the user. It is highly likely that users want to use catalogs from their own observations, reductions, etc., not listed above or not covered by the large surveys with their own source ID scheme.&lt;/p&gt;

&lt;p&gt;My proposal here is the following.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Assign an entry in the &lt;tt&gt;input_catalog&lt;/tt&gt; table for each submission via the target uploader. Therefore, if one program submits two lists, two &lt;tt&gt;input_catalog_id&lt;/tt&gt; are assigned.&lt;br/&gt;
 *Make the &lt;tt&gt;input_catalog_id&lt;/tt&gt; auto-increment primary key with the starting ID of, say, 100001.&lt;/li&gt;
	&lt;li&gt;(optional) If we need to add catalogs from major surveys not necessarily associated with openuse programs, we can force to use younger numbers.&lt;/li&gt;
	&lt;li&gt;(optional) We may allow users to indicate parent catalogs if they are in our pre-defined list and host this information in a column in the &lt;tt&gt;target&lt;/tt&gt; table (something like &lt;tt&gt;parent_catalog_id&lt;/tt&gt;?).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Any comments?&lt;/p&gt;</description>
                <environment></environment>
        <key id="24036">OBSPROC-54</key>
            <summary>Assignment of input_catalog_id</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="-1">Unassigned</assignee>
                                    <reporter username="monodera">monodera</reporter>
                        <labels>
                            <label>targetDB</label>
                    </labels>
                <created>Tue, 3 Oct 2023 03:14:18 +0000</created>
                <updated>Thu, 14 Dec 2023 00:36:18 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="35339" author="monodera" created="Tue, 3 Oct 2023 03:20:40 +0000"  >&lt;p&gt;I&apos;m wondering if OCS team has any comments especially from the point of view of progress tracking.&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=eric&quot; class=&quot;user-hover&quot; rel=&quot;eric&quot;&gt;eric&lt;/a&gt; &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=rkackley&quot; class=&quot;user-hover&quot; rel=&quot;rkackley&quot;&gt;Russell Kackley&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="36445" author="monodera" created="Thu, 14 Dec 2023 00:36:18 +0000"  >&lt;p&gt;Comment from Tanaka-san&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;How are we going to define&#160;&lt;tt&gt;catId&lt;/tt&gt;&#160;by the user? We certainly do not want individual PI to define a random&#160;&lt;tt&gt;catId&lt;/tt&gt;&#160;because&#160;&lt;tt&gt;(catId, objectId)&lt;/tt&gt;&#160;has to be unique. I think it makes sense to assign (tentative)&#160;&lt;tt&gt;catId&lt;/tt&gt;&#160;at the uploader to be sure that different PIs use different IDs. If we want to adopt different numbering schemes for SSP, intensive, normal, ToO, and fillers, then we should reassign the Ids when we accept proposals. For instance,&#160;&lt;tt&gt;&quot;catId = %2d%1d%2d&quot; % (semesterId, proposalCategory, sequentialNumber)&lt;/tt&gt;&#160;??? Note that we use&#160;&lt;tt&gt;catId&lt;/tt&gt;&#160;in file names and it should be less than 5 digits (well, we can increase it if needed and before it is too late).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Current datamodel requests that catId is 5digit integer, but we can change it if needed.&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_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>OBSPROC-1</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzszt3:</customfieldvalue>

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