<!-- 
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-55] Input format for filter and flux information for the target uploader</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/OBSPROC-55</link>
                <project id="11003" key="OBSPROC">PFS observation processing/procedure</project>
                    <description>&lt;p&gt;I&apos;m wondering how we ask users to put flux and filter information. I can think of two possibilities.&lt;/p&gt;

&lt;h2&gt;&lt;a name=&quot;Assumptions&quot;&gt;&lt;/a&gt;Assumptions&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;The unit of fluxes is &lt;tt&gt;nJy&lt;/tt&gt;. (endorsed by Tanaka-san)&lt;/li&gt;
	&lt;li&gt;The fluxes are the (user-defined) total flux. It is equivalent to the PSF flux for point sources.&lt;/li&gt;
	&lt;li&gt;Filter names must be in &lt;a href=&quot;https://pfs-etc.naoj.hawaii.edu/uploader/doc/inputs.html#filters&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;our pre-defined list&lt;/a&gt; which is closely related to the data reduction pipeline.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;&lt;a name=&quot;1.Followtheschemaofthe%7B%7Btargetdb%7D%7D&quot;&gt;&lt;/a&gt;1. Follow the schema of the &lt;tt&gt;targetdb&lt;/tt&gt;&lt;/h2&gt;
&lt;p&gt;The targetdb has columns like &lt;tt&gt;filter_{grizyj&lt;/tt&gt;} and &lt;tt&gt;psf_flux_{grizyj&lt;/tt&gt;} and &lt;tt&gt;psf_flux_error_{grizyj&lt;/tt&gt;}. We can add &lt;tt&gt;total_flux_&amp;#42;&lt;/tt&gt; columns in the &lt;tt&gt;targetdb&lt;/tt&gt; and alias to &lt;tt&gt;flux_&amp;#42;&lt;/tt&gt; in the input list. Then, we can ask users to use them as columns of the input list. The flux-related columns looks like the following.&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;
obj_id,filter_r,flux_r,filter_j,flux_j,flux_error_j
1,rp_gaia,1000000,,,
2,bp_gaia,100000,,,
3,i2_hsc,10000,j_mko,20000,200
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;h3&gt;&lt;a name=&quot;Pros&quot;&gt;&lt;/a&gt;Pros&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;Flexible: Each object can have different filters for the same column name.&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;Cons&quot;&gt;&lt;/a&gt;Cons&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;Users may need to spend more time to create a list.&lt;/li&gt;
	&lt;li&gt;Correspondence between filter names and column subscripts can be inconsistent. For example, one can &lt;tt&gt;bp_gaia&lt;/tt&gt; in &lt;tt&gt;filter_r&lt;/tt&gt; (the above example), while it&apos;s entirely valid and has no problem downstream, I suppose.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;&lt;a name=&quot;2.Usefilternamesinthecolumnname&quot;&gt;&lt;/a&gt;2. Use filter names in the column name&lt;/h2&gt;
&lt;p&gt;The other possibility is that users use the pre-defined filter name in the column header in the input list. The example list in the case 1 looks like the following in this case.&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;
obj_id,rp_gaia,bp_gaia,i2_hsc,j_mko,j_mko_error
1,1000000,,,,
2,,100000,,,
3,,,10000,20000,200
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Pros&quot;&gt;&lt;/a&gt;Pros&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;Looks more straightforward for users?&lt;/li&gt;
	&lt;li&gt;Simpler when the list is generated from a single parent catalog (e.g., HSC-SSP)&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;Cons&quot;&gt;&lt;/a&gt;Cons&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;We need to define the correspondence between filtername and columns in &lt;tt&gt;targetdb&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;It&apos;s not possible to list more than one filter for an object. For example, &lt;tt&gt;r2_hsc&lt;/tt&gt; and &lt;tt&gt;r_ps1&lt;/tt&gt; are regarded as &lt;tt&gt;_r&lt;/tt&gt; filters, and cannot co-exist if we set filter categories.&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;Perhaps, validation is equivalently simple or complex and can be implemented anyway. Any other ideas are also welcome. We just need to decide to go forward.&lt;/p&gt;</description>
                <environment></environment>
        <key id="24049">OBSPROC-55</key>
            <summary>Input format for filter and flux information for the target uploader</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="-1">Unassigned</assignee>
                                    <reporter username="monodera">monodera</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Oct 2023 21:01:25 +0000</created>
                <updated>Wed, 18 Oct 2023 18:49:44 +0000</updated>
                            <resolved>Wed, 18 Oct 2023 18:49:44 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="35438" author="monodera" created="Thu, 12 Oct 2023 03:39:10 +0000"  >&lt;p&gt;2nd option is preferred by the obsproc members. I&apos;ll start working on it.&lt;/p&gt;</comment>
                            <comment id="35548" author="monodera" created="Wed, 18 Oct 2023 18:49:44 +0000"  >&lt;p&gt;It has been implemented and tested by myself and Moritani-san. I close it for now.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22560">OBSPROC-17</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_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>OBSPROC-7</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzszvr:</customfieldvalue>

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