<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:44:23 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-17] Organize flux columns in the target table of targetDB</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/OBSPROC-17</link>
                <project id="11003" key="OBSPROC">PFS observation processing/procedure</project>
                    <description>&lt;p&gt;Currently, flux columns are assuming grizyj, but the datamodel can accommodate more flexible case. I would like to implement a feature to handle fluxes in arbitrary passbands in targetDB.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22560">OBSPROC-17</key>
            <summary>Organize flux columns in the target table of targetDB</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="monodera">monodera</assignee>
                                    <reporter username="monodera">monodera</reporter>
                        <labels>
                            <label>targetDB</label>
                    </labels>
                <created>Thu, 16 Dec 2021 01:56:10 +0000</created>
                <updated>Thu, 5 Oct 2023 21:01:30 +0000</updated>
                                                                            <component>ets_target_database</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="30422" author="monodera" created="Wed, 2 Feb 2022 22:24:07 +0000"  >&lt;p&gt;PostgreSQL supports ARRAY type, so I will use this.&lt;/p&gt;

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

&lt;p&gt;&lt;a href=&quot;https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#sqlalchemy.dialects.postgresql.ARRAY&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#sqlalchemy.dialects.postgresql.ARRAY&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="30423" author="monodera" created="Wed, 2 Feb 2022 22:39:17 +0000"  >&lt;p&gt;For flux columns in the targetDB, do we need the three kind of flux defined in the datamodel, (1) fiber_flux, (2) psf_flux, and (3) total_flux?&lt;/p&gt;

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

&lt;p&gt;(1) Fiber flux need a seeing correction, but at Phase 2 and during the designing process, seeing cannot be known.&lt;/p&gt;

&lt;p&gt;(2) PSF flux also need a PSF shape for extended source.&lt;/p&gt;

&lt;p&gt;(3) Total flux can be submitted at Phase 2, but it may not be useful for objects which extends much larger than the fiber diameter. In this case, fiber flux would be more appropriate.&lt;/p&gt;

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

&lt;p&gt;I can make these three, but if you have any suggestions, please let me know.&lt;/p&gt;

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

&lt;p&gt;Related question: do we also need to make magnitude columns or just fluxes in nJy are fine?&lt;/p&gt;</comment>
                            <comment id="30445" author="monodera" created="Wed, 9 Feb 2022 23:47:54 +0000"  >&lt;p&gt;Just a note:&lt;/p&gt;

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

&lt;p&gt;To host an arbitrary photometric data points, there are ARRAY and JSON/JSONB types available in PostgreSQL. At this point, which type should be used in what kind of photometry depends on the demand from the data processing. &lt;/p&gt;

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

&lt;p&gt;There could be 4 possibilities at this moment:&lt;/p&gt;

&lt;p&gt;(1) just list each filter as a column, e.g., total_flux_g_hsc, total_flux_g_gaia, etc.&lt;/p&gt;

&lt;p&gt;(2) use ARRAY type with a list of filters as another column.&lt;/p&gt;

&lt;p&gt;(3) use JSON/JSONB type with filter info in each json entry.&lt;/p&gt;

&lt;p&gt;(4) no photometry info in the targetdb (i.e., not be used in the data processing).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="24049">OBSPROC-55</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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-1</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzsssf:</customfieldvalue>

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