<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:48:41 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>[INFRA-30] Define filenames for 2-D inputs</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INFRA-30</link>
                <project id="10001" key="INFRA">Software Development Infrastructure</project>
                    <description>&lt;p&gt;Craig proposes a scheme in his email (he&apos;ll add it to this issue).&lt;/p&gt;
</description>
                <environment></environment>
        <key id="10404">INFRA-30</key>
            <summary>Define filenames for 2-D inputs</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</priority>
                        <status id="10100" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="No further work should be done on this.">Won&apos;t Fix</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="rhl">rhl</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Sep 2014 14:05:47 +0000</created>
                <updated>Fri, 8 Jul 2016 14:13:35 +0000</updated>
                            <resolved>Fri, 8 Jul 2016 14:13:35 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="10303" author="cloomis" created="Wed, 3 Sep 2014 14:20:25 +0000"  >&lt;p&gt;The proposed scheme for the files form the DA systems was sent out as &lt;a href=&quot;https://pfs.ipmu.jp/pipermail/subaruif-software/2014q3/000042.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://pfs.ipmu.jp/pipermail/subaruif-software/2014q3/000042.html&lt;/a&gt;. In summary and in approximate python syntax&lt;/p&gt;

&lt;p&gt;For all CCD, IR, and co-added IR image files:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;fileName = &quot;%(prefix)s%(seqno)06d%(specid)1d%(camid)1d.fits&quot;&lt;/li&gt;
	&lt;li&gt;fullPath = os.path.join(rootDir, nightName,  fileName)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;At Subaru:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;For CCD and co-added IR, prefix = &quot;PFSA&quot;&lt;/li&gt;
	&lt;li&gt;For up-the-ramp IR data, prefix = &quot;PFSB&quot; (one HDU per read).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Offsite, perhaps use PFxA and PFxB, where &apos;x&apos; is different for each&lt;br/&gt;
site. Given the distributed engineering and development, keeping&lt;br/&gt;
sequence numbers will be hard, but with this scheme we can have&lt;br/&gt;
globally unique and consistent names.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;seqno is allocated to us by Gen2. For engineering, we keep a per-site seqno.&lt;/li&gt;
	&lt;li&gt;seqno is the same for PFSA and PFSB&lt;/li&gt;
	&lt;li&gt;specid is (1,2,3,4). [ Engineering frames could/should use the other numbers. ]&lt;/li&gt;
	&lt;li&gt;camid is (1,2,3) # blue, red, IR. We &lt;em&gt;might&lt;/em&gt; instead separate the&lt;br/&gt;
detectors, so (1,2, 3,4, 5) for b1,b2,r1,r2,ir&lt;br/&gt;
? An alternative to using PFSB for the up-the-ramp reads would be to&lt;br/&gt;
use a distinct camid.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;nightName:&lt;br/&gt;
   MJD?  &quot;%Y-%m-%d&quot;?  &quot;%Y%m%d&quot;? &lt;span class=&quot;error&quot;&gt;&amp;#91;I prefer the well-behaved integer MJD, FWIW&amp;#93;&lt;/span&gt;&lt;br/&gt;
   Rollover hour? MJD and UTC 00:00 are ~at observatory midnight. So&lt;br/&gt;
use JD/day+0.5?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt; For example, the 123rd saved image from the spec#1 blue camera, taken&lt;br/&gt;
yesterday at JHU:&lt;/p&gt;

&lt;p&gt;/data/pfs/2014-03-25/PFJA00012311.fits&lt;/p&gt;

&lt;p&gt;  or the 1000th IR coadd and up-the-ramp frames for the 2nd spectrograph:&lt;/p&gt;

&lt;p&gt;/data/pfs/56741/PFSA00100023.fits&lt;br/&gt;
/data/pfs/56741/PFSB00100023.fits&lt;/p&gt;
</comment>
                            <comment id="10401" author="bick" created="Wed, 10 Dec 2014 07:27:22 +0000"  >&lt;p&gt;Is this ticket still active?  I suspect that there are now many example engineering exposures which already use the proposed naming scheme, and changes now are likely unnecessary and possibly confusing.  So, is the proposed scheme open to debate, or should it be considered closed?&lt;/p&gt;</comment>
                            <comment id="10402" author="" created="Wed, 10 Dec 2014 13:24:58 +0000"  >&lt;p&gt;This is the scheme we are currently using, but there is one pending change and we have no real detector data, so please suggest improvements.&lt;/p&gt;

&lt;p&gt;The change is to use per-site prefixes. PFS&lt;/p&gt;
{P,J,L,I}
&lt;p&gt; for PU,JHU,LAM,IPMU. That allows independent seqnos, but does mean that we need to use a camid to indicate up-the-ramp files.&lt;/p&gt;</comment>
                            <comment id="10403" author="bick" created="Thu, 11 Dec 2014 01:37:29 +0000"  >&lt;p&gt;Do we have restrictions on the style of the raw data files?  Your suggestion includes an 8 digit number, and I&apos;m wondering if that&apos;s a necessity:&lt;/p&gt;

&lt;p&gt;%(seqno)06d%(specid)1d%(camid)1d&lt;/p&gt;

&lt;p&gt;If the camid is intended to represent blue, red, or IR; would it be more intuitive when looking at filenames to use b,r,i ?  I might also switch the order of specid and camid, and add a hyphens to break the 8 digit number to something easier to read:&lt;/p&gt;

&lt;p&gt;So the examples:&lt;/p&gt;

&lt;p&gt;PFJA00012311.fits&lt;br/&gt;
PFSA00100023.fits&lt;/p&gt;

&lt;p&gt;would become:&lt;/p&gt;

&lt;p&gt;PFJA-000123-b1.fits&lt;br/&gt;
PFSA-001000-i2.fits&lt;/p&gt;

&lt;p&gt;Certainly after working with the data for any time, your eye will see the coded information anyway.  But if it&apos;s possible to make it immediately apparent, I think that has some value.&lt;/p&gt;</comment>
                            <comment id="10404" author="" created="Thu, 11 Dec 2014 02:53:29 +0000"  >&lt;p&gt;I believe that the final format at Subaru must be %4s%08d.fits, with PFSA currently the only allowed prefix.&lt;/p&gt;</comment>
                            <comment id="10405" author="bick" created="Thu, 11 Dec 2014 05:31:22 +0000"  >&lt;p&gt;Ahh, ok.  I had suspected that might be the case.  So it sounds like the only issue here is how we allocate the 8 digit number.  In which case, Craig&apos;s suggestion is a fine choice.&lt;/p&gt;</comment>
                            <comment id="10406" author="bick" created="Thu, 11 Dec 2014 05:33:03 +0000"  >&lt;p&gt;I there&apos;s nothing more to do here. Since the work has been done by Craig, I done feel there&apos;s any conflict of interest in me assigning it to myself to review.&lt;/p&gt;</comment>
                            <comment id="10407" author="bick" created="Thu, 11 Dec 2014 05:34:15 +0000"  >&lt;p&gt;I think the relevant review points came up in the inline discussion.  Done.&lt;/p&gt;</comment>
                            <comment id="11083" author="rhl" created="Thu, 7 Jul 2016 21:18:42 +0000"  >&lt;p&gt;This work has been moved into the data model project (DAMD), and is tracked in git at &lt;a href=&quot;https://github.com/Subaru-PFS/datamodel/blob/master/datamodel.txt&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/datamodel/blob/master/datamodel.txt&lt;/a&gt;&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>DAMD-14</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qpud:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="11">2014-9</customfieldvalue>
    <customfieldvalue id="16">2014-12</customfieldvalue>
    <customfieldvalue id="19">2014-13</customfieldvalue>
    <customfieldvalue id="20">2014-14</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>