<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:02:55 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>[PIPE2D-1110] Make match filterName between pfsConfig and flux calibration</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1110</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Flux calibration reads broad-band information from &lt;tt&gt;pfsConfig&lt;/tt&gt;. But the current flux calibration assumes&#160;&lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/blob/f5cd80046ee3316d6ab732e30bb2226f629244c2/python/pfs/drp/stella/fitReference.py#L111&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;different names&lt;/a&gt; from targetDB/gaiaDB, and therefore we need to unify the names to run flux calibration. We change &lt;tt&gt;filterName&lt;/tt&gt; in flux calibration and use ones of targetDB and gaiaDB.&lt;br/&gt;
 &#160;&lt;br/&gt;
 {{filterName}}s passed down from targeted and gaiaDB to pfsDesign and pfsConfig are:&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;band&amp;#93;&lt;/span&gt;_ps1 for PS1&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;band&amp;#93;&lt;/span&gt;_gaia for Gaia&lt;br/&gt;
 &#160;&lt;br/&gt;
 Similarly, we can use {{filterName}}s of &lt;span class=&quot;error&quot;&gt;&amp;#91;band&amp;#93;&lt;/span&gt;_hsc and &lt;span class=&quot;error&quot;&gt;&amp;#91;band&amp;#93;&lt;/span&gt;_sdss for HSC and SDSS, respectively.&lt;/p&gt;

&lt;p&gt;EDIT&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15447/15447_PIPE2D-1110-change-filter-names.py&quot; title=&quot;PIPE2D-1110-change-filter-names.py attached to PIPE2D-1110&quot;&gt;PIPE2D-1110-change-filter-names.py&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; has to be run in order not to break the integration tests and weekly tests after this branch is merged to the main branch.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23100">PIPE2D-1110</key>
            <summary>Make match filterName between pfsConfig and flux calibration</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="sogo.mineo">sogo.mineo</assignee>
                                    <reporter username="takuji.yamashita">Takuji Yamashita</reporter>
                        <labels>
                            <label>flux-calibration</label>
                    </labels>
                <created>Mon, 7 Nov 2022 07:57:45 +0000</created>
                <updated>Mon, 19 Dec 2022 19:17:22 +0000</updated>
                            <resolved>Fri, 9 Dec 2022 00:11:24 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                <comments>
                            <comment id="31752" author="takuji.yamashita" created="Tue, 8 Nov 2022 02:26:42 +0000"  >&lt;p&gt;In regard to HSC r2 and i2 filters: &lt;br/&gt;
 I propose to use r2/i2 filters instead of the old r/i filters for flux calibration unless users explicitly set the filterName of the old ones.&lt;/p&gt;

&lt;p&gt;The HSC filters are used to scale fluxes of science targets in the last part of flux calibration. Calculating flux calibration vectors does not use HSC photometries because FLUXSTD stars have PS1 photometries. Users do not distinguish which filters, r&lt;img class=&quot;emoticon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/emoticons/information.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; or r2(i2), are used in the HSC catalog. The new r2 and i2 filters have been in use since 2016. Therefore, I think that it is natural to use r2 and i2 filters for our flux calibration.&lt;/p&gt;

&lt;p&gt;For example, if i_hsc is set in filterName of pfsConfig, the flux calibration reads the filter transmission of i2.&lt;/p&gt;

&lt;p&gt;It might be useful to have an option in which the old i filter is read when i_old_hsc (or other nice names) is set. Does targetDB accept such names for the old filters, &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiyoto.yabe&quot; class=&quot;user-hover&quot; rel=&quot;kiyoto.yabe&quot;&gt;Kiyoto Yabe&lt;/a&gt; ?&lt;/p&gt;</comment>
                            <comment id="31754" author="price" created="Tue, 8 Nov 2022 02:41:08 +0000"  >&lt;p&gt;We should adopt a naming scheme for the photometric bands that makes the filter curve explicit, without having to assume anything.&lt;/p&gt;</comment>
                            <comment id="31755" author="takuji.yamashita" created="Tue, 8 Nov 2022 03:42:49 +0000"  >&lt;p&gt;Do you mean that we should use the names of i2 and i, which corresponds with the filter curve names? In that case, targetDB needs to use a name including i2 to designate the i2 filter although the HSC catalog uses a name without &quot;2&quot; even for i2 band. Or do we choose the i2 filter curve internally in the pipeline?&lt;/p&gt;</comment>
                            <comment id="31756" author="price" created="Tue, 8 Nov 2022 03:58:00 +0000"  >&lt;p&gt;Oh, the problem is the HSC SSP catalog doesn&apos;t distinguish between i1 and i2 (though other reductions may). Yeah, that&apos;s annoying. Maybe we need to map i_HSC to i2, i2_HSC to i2 and i1_HSC to i1?&lt;/p&gt;</comment>
                            <comment id="31757" author="takuji.yamashita" created="Tue, 8 Nov 2022 04:34:17 +0000"  >&lt;p&gt;Yes. That is because images taken with i1 and i2 are coadded in DUD, and i1 magnitudes in WIDE are corrected to i2. A user can fetch i1 magnitudes from the old data releases, but the band name is i not i1.&lt;br/&gt;
 &#160;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;map i_HSC to i2, i2_HSC to i2 and i1_HSC to i1&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I agree with this. I prefer i_old for i1. It is a bit more meaningful, but this is subjective.&lt;/p&gt;</comment>
                            <comment id="31813" author="sogo.mineo" created="Fri, 18 Nov 2022 05:15:32 +0000"  >&lt;p&gt;There is already a filter named &quot;ENG-R1&quot;, so I don&apos;t think the name &quot;r1&quot; is good for the older &quot;HSC-R&quot;. Yamashita-san and I think the filter names should be:&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;
HSC: {g,r_old,r2,i_old,i2,z,y}_hsc
PS1: {g,r,i,z,y}_ps1
Gaia: {bp,rp,g}_gaia
SDSS: {u,g,r,i,z}_sdss&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I am changing filter names in &lt;tt&gt;fitReference.py&lt;/tt&gt; but I am afraid that the changes break the integration test (and weekly test). &lt;tt&gt;psfConfig&lt;/tt&gt; in drp_stella_data must be modified. I&apos;m not sure I am able to do it properly.&#160;&lt;/p&gt;</comment>
                            <comment id="31814" author="sogo.mineo" created="Fri, 18 Nov 2022 05:26:07 +0000"  >&lt;p&gt;Also, I believe that&#160;&lt;tt&gt;i_hsc&lt;/tt&gt; and &lt;tt&gt;r_hsc&lt;/tt&gt; should result in an error. It would be better than having to memorize whether i means HSC-I or HSC-I2.&lt;/p&gt;</comment>
                            <comment id="31895" author="sogo.mineo" created="Thu, 1 Dec 2022 08:06:22 +0000"  >&lt;p&gt;Once this branch is merged to the main branch, pfsConfig&amp;#42;.fits and pfsDetection&amp;#42;.fits have to be modified (&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15447/15447_PIPE2D-1110-change-filter-names.py&quot; title=&quot;PIPE2D-1110-change-filter-names.py attached to PIPE2D-1110&quot;&gt;PIPE2D-1110-change-filter-names.py&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; can be used to modify the files).&lt;/p&gt;</comment>
                            <comment id="31903" author="sogo.mineo" created="Fri, 2 Dec 2022 07:29:23 +0000"  >&lt;p&gt;Could you review this PR?&lt;/p&gt;</comment>
                            <comment id="31916" author="price" created="Mon, 5 Dec 2022 19:04:57 +0000"  >&lt;p&gt;We need to coordinate merging this ticket with the necessary changes to the integration test and weekly. I suggest you update the integration test inputs (in drp&amp;#95;stella&amp;#95;data), run the integration test to confirm it works, and then I&apos;ll update the weekly after you merge.&lt;/p&gt;</comment>
                            <comment id="31918" author="sogo.mineo" created="Tue, 6 Dec 2022 01:33:09 +0000"  >&lt;p&gt;&amp;gt; you update the integration test inputs (in drp_stella_data),&lt;br/&gt;
I have already run the modified integration test. Should I push the change of drp_stella_data?&lt;/p&gt;</comment>
                            <comment id="31919" author="price" created="Tue, 6 Dec 2022 02:29:12 +0000"  >&lt;p&gt;Yes, please.&lt;/p&gt;</comment>
                            <comment id="31921" author="sogo.mineo" created="Tue, 6 Dec 2022 07:30:03 +0000"  >&lt;p&gt;I pushed &lt;tt&gt;tickets/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1110&quot; title=&quot;Make match filterName between pfsConfig and flux calibration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1110&quot;&gt;&lt;del&gt;PIPE2D-1110&lt;/del&gt;&lt;/a&gt;&lt;/tt&gt; to &lt;tt&gt;drp_stella_data&lt;/tt&gt; and created a pull request for it. The integration test ran successfully.&lt;/p&gt;</comment>
                            <comment id="31937" author="sogo.mineo" created="Thu, 8 Dec 2022 06:19:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=price&quot; class=&quot;user-hover&quot; rel=&quot;price&quot;&gt;price&lt;/a&gt; Can I merge the branches of&#160;&lt;tt&gt;drp_stella&lt;/tt&gt;&#160;and &lt;tt&gt;drp_stella_data&lt;/tt&gt; to the main branch?&lt;/p&gt;</comment>
                            <comment id="31938" author="price" created="Thu, 8 Dec 2022 14:48:10 +0000"  >&lt;p&gt;Please go ahead. Thanks!&lt;/p&gt;</comment>
                            <comment id="31939" author="price" created="Thu, 8 Dec 2022 18:28:21 +0000"  >&lt;p&gt;I ran the script on &lt;tt&gt;/projects/HSC/PFS/weekly-20221201&lt;/tt&gt;:&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;
(lsst-scipipe-3.0.0) pprice@tiger2-sumire:/projects/HSC/PFS/weekly-20221201 $ python ~/PIPE2D-1110-change-filter-names.py pfsConfig*.fits --goahead
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="31944" author="sogo.mineo" created="Fri, 9 Dec 2022 00:11:24 +0000"  >&lt;p&gt;Merged. Thanks for the review and changing the weekly test.&lt;/p&gt;</comment>
                            <comment id="32020" author="price" created="Mon, 19 Dec 2022 19:17:22 +0000"  >&lt;p&gt;And now I&apos;ve run the script on &lt;tt&gt;/projects/HSC/PFS/scienceSims/scienceSims-20221201&lt;/tt&gt;:&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;
(lsst-scipipe-3.0.0) pprice@tiger2-sumire:/projects/HSC/PFS/scienceSims/scienceSims-20221201 $ python ~/PIPE2D-1110-change-filter-names.py pfsConfig*.fits --goahead
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="23143">OBSPROC-33</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="15447" name="PIPE2D-1110-change-filter-names.py" size="3271" author="sogo.mineo" created="Thu, 1 Dec 2022 08:03:03 +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|02qpjd:00r20060i209</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>price</customfieldvalue>

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