<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:23:27 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>[INSTRM-289] Create test STS tables</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-289</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;Can we get a couple of STS tables which we can actually populate, just to test the plumbing and the STS python module? In STSradio.conf terms, something like (timestamp plus float):&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;LINE DT(F1,%y-%m-%d?%H:%M:%S?????) D9990(F2,%f)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and maybe one covering all the basic types:&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;LINE DT(F1,%y-%m-%d?%H:%M:%S?????) D9991(F2,%c) D9992(F3,%d) D9993(F4,%f)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Call the columns anything you want.&lt;/p&gt;

&lt;p&gt;FYI the &lt;tt&gt;?????&lt;/tt&gt; in the timestamp was an arrangement to put the HAST timezone in the datafile: STS require(sd) data in that TZ but does not parse the trailing timezone string, and we wanted to make the timezone explicit even though it was ignored. Obviously if any of that has changed please adjust.&lt;/p&gt;

&lt;p&gt;In the immediate term I can test from the existing STS client &lt;tt&gt;charis.sum.subaru.nao.ac.jp&lt;/tt&gt;. I&apos;ll open a second ticket for getting access to and from a proper PFS machine.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12057">INSTRM-289</key>
            <summary>Create test STS tables</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="hiro">Yoshida, Hiroshige</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Feb 2018 13:02:35 +0000</created>
                <updated>Wed, 7 Feb 2018 21:53:11 +0000</updated>
                            <resolved>Wed, 7 Feb 2018 21:53:11 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="12896" author="cloomis" created="Wed, 7 Feb 2018 15:15:29 +0000"  >&lt;p&gt;If we have known MCS keywords, we could also use those. Specifically, if there are obvious detector temperatures we could make that a datum now.&lt;/p&gt;</comment>
                            <comment id="12898" author="hiro" created="Wed, 7 Feb 2018 16:31:19 +0000"  >&lt;p&gt;Are you developing a STS client (actor) based on the STS client module David wrote (STSlib.py or STSlib.c)? Are you trying to collect and send data programmatically or parse some log files to extract the latest data? When you call a method that updates the internal dictionary of the STS library, you need to pass a timestamp in seconds from the UNIX epoch. In other words, it does not matter how timestamps are textually represented within PFS?&lt;/p&gt;

&lt;p&gt;I can create Integer, Real, Text, Integer+Text, Real+Text, and Float type data for test purposes and let you know their IDs.&lt;/p&gt;</comment>
                            <comment id="12899" author="cloomis" created="Wed, 7 Feb 2018 16:40:45 +0000"  >&lt;p&gt;Yes, &lt;tt&gt;STSlib.c&lt;/tt&gt; or preferably &lt;tt&gt;STSlib.py&lt;/tt&gt;, though I&apos;d like to modify the python version a bit before using it.&lt;/p&gt;

&lt;p&gt;I specifically do &lt;em&gt;not&lt;/em&gt; want to run the external &lt;tt&gt;STSradio&lt;/tt&gt; program and point it at log files, which was the recommended solution. Instead, an actor which sees all the PFS keyword traffic will forward some of that to the STS using the &lt;tt&gt;STSlib.py&lt;/tt&gt; scheme. That is what I&apos;d like to test for real.&lt;/p&gt;

&lt;p&gt;The timestamp representation was only required for the &lt;tt&gt;STSradio&lt;/tt&gt; log file parsing. I should perhaps not have sent it as an example.&lt;/p&gt;

&lt;p&gt;For the test tables, those would be perfect. Thanks.&lt;/p&gt;
</comment>
                            <comment id="12901" author="hiro" created="Wed, 7 Feb 2018 20:30:07 +0000"  >&lt;p&gt;I have defined six (6) data sources. They are in the &quot;Playground&quot; public data set. Below is the list of sources and their &quot;datum IDs&quot; (STSradio IDs). It is &lt;b&gt;very important&lt;/b&gt; for us to use the correct IDs! There should not be any difference between Float and Exponent (both are for real numbers).&lt;/p&gt;

&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Name&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Type&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Datum ID&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Playground: Integer&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Integer&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;1090&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Playground: Float&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Float&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;1091&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Playground: Text&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Text&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;1092&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Playground: Integer with Text&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Integer with Text&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;1093&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Playground: Float with Text&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Float with Text&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;1094&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Playground: Exponent&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Exponent&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;1095&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</comment>
                            <comment id="12902" author="cloomis" created="Wed, 7 Feb 2018 21:53:11 +0000"  >&lt;p&gt;Thanks! I&apos;m calling this done. I&apos;ll probably test early next week when I can focus on this.&lt;/p&gt;

&lt;p&gt;And yes, I am aware of the importance of using the right IDs. Scary!&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|ii03vj:</customfieldvalue>

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