<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:03:11 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-1131] ingest pfsConfig from /data/raw/DATE/pfsConfig</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1131</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;pfsConfig files are now created under &lt;em&gt;/data/raw/DATE/pfsConfig&lt;/em&gt; regardless of the lightSource.&lt;br/&gt;
Hence, there should no longer be any magic for dcb or SuNSS, the config files now exist, you just have to use them : &lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;(rubin3_ics) pfs@actors-ics:/data/raw/2022-12-13/pfsConfig$ ls -ltr
total 130
-rw-rw-r-- 1 pfs pfs 23040 Dec 13 08:39 pfsConfig-0x00010001001010-084090.fits
-rw-rw-r-- 1 pfs pfs 23040 Dec 13 09:22 pfsConfig-0x00010001001010-084091.fits
-rw-rw-r-- 1 pfs pfs 23040 Dec 13 09:28 pfsConfig-0x00010001001010-084092.fits
-rw-rw-r-- 1 pfs pfs 46080 Dec 13 09:30 pfsConfig-0x000000deadbeef-084093.fits
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment></environment>
        <key id="23173">PIPE2D-1131</key>
            <summary>ingest pfsConfig from /data/raw/DATE/pfsConfig</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="price">price</assignee>
                                    <reporter username="arnaud.lefur">arnaud.lefur</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Dec 2022 19:36:54 +0000</created>
                <updated>Fri, 16 Dec 2022 03:47:32 +0000</updated>
                            <resolved>Fri, 16 Dec 2022 03:47:32 +0000</resolved>
                                                                    <component>obs_pfs</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="31961" author="arnaud.lefur" created="Tue, 13 Dec 2022 20:54:48 +0000"  >&lt;p&gt;let me know how/if the syntax of ingestPfsImages.py evolves, I should no longer to need to specify pfsConfigDir right ?&lt;/p&gt;</comment>
                            <comment id="31962" author="price" created="Tue, 13 Dec 2022 21:04:16 +0000"  >&lt;p&gt;&lt;tt&gt;ingestPfsImages.py&lt;/tt&gt; expects that the &lt;tt&gt;pfsConfig&lt;/tt&gt; file is sitting in the same directory as the images, or it&apos;s in the &lt;tt&gt;--pfsConfigDir&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="31963" author="arnaud.lefur" created="Tue, 13 Dec 2022 21:08:42 +0000"  >&lt;p&gt;Makes sense, can you make it evolve so it expect file in &lt;em&gt;/data/raw/DATE/pfsConfig&lt;/em&gt; ?&lt;/p&gt;</comment>
                            <comment id="31964" author="price" created="Tue, 13 Dec 2022 21:56:24 +0000"  >&lt;p&gt;Why do we want to put the pfsConfig files in a separate directory? They are as important as the raw pixels, so why not put them in the same directory? Then a user interested in the data for one night only has to copy files from a single directory.&lt;/p&gt;</comment>
                            <comment id="31965" author="cloomis" created="Tue, 13 Dec 2022 22:06:17 +0000"  >&lt;p&gt;Is it that bad to have &quot;/data/raw/$DATE/{a,few,types}/&quot;, where the &quot;/data/raw/$DATE&quot; &#160;is the single directory? Granted that the other directories are mostly for engineering purposes&#160;&#8211; guider frames, etc. &#8211; so not of universal interest.&lt;/p&gt;

&lt;p&gt;I had been thinking that &quot;/data/raw&quot; is the end of the ICS domain, the DRP root as the beginning of the DRP domain, and the ingest scripts as the only things which need to know about both.&lt;/p&gt;

&lt;p&gt;If that is not natural, we can still adapt.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="31966" author="price" created="Tue, 13 Dec 2022 22:23:31 +0000"  >&lt;p&gt;The ingest script doesn&apos;t know about date-based directories: it receives a list of image files, and needs to find the associated pfsConfig files. The current options are that these files are in the same directory as the image files or they are in a separate directory. There is currently no facility to build that separate directory name; while I think that&apos;s something we could do (and fairly easily, I think), I don&apos;t like treating the pfsConfig files substantially differently from the image files. I can see users the morning after their run copying their image files while neglecting the pfsConfig files.&lt;/p&gt;</comment>
                            <comment id="31967" author="cloomis" created="Tue, 13 Dec 2022 22:24:05 +0000"  >&lt;p&gt;One technical point is that the PFSx-writing processes all run as a distinct &quot;pfs-data&quot; user which is only useable on the fourteen or so DAQ hosts, and those data files (and directories) are not supposed to be group-writeable (hmm to self: the directories are right but the files not). It would be hard (and undesirable) to change that at this point. Long after that decision we added pfsConfig writing for every SPS visit, and we would have to do some splitting and refactoring to allow pfsConfigs to also be written by that &quot;pfs-data&quot; user.&lt;/p&gt;

&lt;p&gt;That doesn&apos;t mean we can&apos;t do it if appropriate.&lt;/p&gt;</comment>
                            <comment id="31968" author="price" created="Wed, 14 Dec 2022 01:48:00 +0000"  >&lt;p&gt;Sounds like it&apos;s easier for me to change things on the DRP side. I&apos;ll try to tackle this tomorrow.&lt;/p&gt;</comment>
                            <comment id="31975" author="price" created="Wed, 14 Dec 2022 21:52:18 +0000"  >&lt;p&gt;I&apos;ve got an implementation that seems to do the job. Given &lt;tt&gt;--pfsConfigDir /path/to&lt;/tt&gt;, it will look for the pfsConfig file in the following places:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;/path/to/&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;/path/to/&amp;lt;dateObs&amp;gt;/pfsConfig/&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Look for &lt;tt&gt;pfsDesign&lt;/tt&gt; file in &lt;tt&gt;/path/to&lt;/tt&gt; and write pfsConfig to &lt;tt&gt;/path/to/&amp;lt;dateObs&amp;gt;/pfsConfig/&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;So I expect you&apos;ll use &lt;tt&gt;--pfsConfigDir /data/raw&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="31976" author="hassan" created="Wed, 14 Dec 2022 22:46:17 +0000"  >&lt;p&gt;Changes in pull request look fine. Would prefer a warning if a &lt;tt&gt;pfsConfig&lt;/tt&gt; file is created from a &lt;tt&gt;pfsDesign&lt;/tt&gt;. See comments in PR.&lt;/p&gt;</comment>
                            <comment id="31996" author="price" created="Fri, 16 Dec 2022 03:47:32 +0000"  >&lt;p&gt;Changed the existing debug logging to warning level.&lt;/p&gt;

&lt;p&gt;Merged.&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_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzsvtr:</customfieldvalue>

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

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