Repository navigation
Expand file tree
/
Copy pathmodel.xml
More file actions
51 lines (51 loc) · 2.88 KB
/
Copy pathmodel.xml
File metadata and controls
51 lines (51 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<project name="transpose_long" threads="2" pubsub="auto" heartbeat-interval="1" luaroot="@ESP_PROJECT_OUTPUT@/luaroot">
<description><![CDATA[This example processes data from an aircraft in flight. A Transpose window is used to interchange an event’s rows as columns, and rows as columns. The Transpose window has two modes: long and wide. This project processes aircraft data in long mode.]]></description>
<metadata>
<meta id="studioUploadedBy">anonymousUser</meta>
<meta id="studioUploaded">1696246482943</meta>
<meta id="studioModifiedBy">anonymousUser</meta>
<meta id="studioModified">1696246490305</meta>
<meta id="layout">{"cq1":{"SourceW":{"x":50,"y":50},"TransposeL":{"x":50,"y":175}}}</meta>
<meta id="studioTags">Example</meta>
</metadata>
<contqueries>
<contquery name="cq1" trace="TransposeL">
<windows>
<window-source pubsub="true" index="pi_EMPTY" insert-only="true" name="SourceW">
<description><![CDATA[This is a Source window, where aircraft events from the input-long.csv file enter the model. When data is passed into this window, the following date format must be used: %Y-%m-%d %H:%M:%S]]></description>
<schema>
<fields>
<field name="ID" type="int64" key="true"/>
<field name="pitch_value" type="double"/>
<field name="pitch_time" type="stamp"/>
<field name="yaw_value" type="double"/>
<field name="yaw_time" type="stamp"/>
<field name="roll_value" type="double"/>
<field name="roll_time" type="stamp"/>
<field name="velocity_value" type="double"/>
<field name="velocity_time" type="stamp"/>
<field name="lat" type="double"/>
<field name="long" type="double"/>
</fields>
</schema>
<connectors>
<connector class="fs" name="input_transpose_long">
<properties>
<property name="type"><![CDATA[pub]]></property>
<property name="dateformat"><![CDATA[%Y-%m-%d %H:%M:%S]]></property>
<property name="fsname"><![CDATA[@ESP_PROJECT_HOME@/test_files/input-long.csv]]></property>
<property name="fstype"><![CDATA[csv]]></property>
</properties>
</connector>
</connectors>
</window-source>
<window-transpose pubsub="true" mode="long" tag-name="TAG" tag-values="value,time" tags-included="pitch,roll,yaw,velocity" name="TransposeL">
<description><![CDATA[This is a Transpose window, where the transposition of the aircraft events occurs. You can configure the attributes of the Transpose window to govern the rearrangement of data.]]></description>
</window-transpose>
</windows>
<edges>
<edge source="SourceW" target="TransposeL"/>
</edges>
</contquery>
</contqueries>
</project>