Skip to content

Commit

Permalink
Update configuration files with more accurate dataPattern fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
csjx committed Jan 17, 2022
1 parent 92eae09 commit 03143ad
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 26 deletions.
2 changes: 1 addition & 1 deletion conf/offline/PIAS01_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/offline/PIFM02_002CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/offline/PIGM01_003CTDX002R00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/offline/PIMI01_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/offline/PIPL01_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/online/AW02XX_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern># \S*, *\S*, *\S*, *\S*, *\S*, *\d{2} \S{3} \d{4} \d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/online/MB01XX_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern># \S*, *\S*, *\S*, *\S*, *\S*, *\S*, *\d{2} \S{3} \d{4} \d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/AW01XX_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}+d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}+d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/AW02XX_101CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s*\S+,\s*\S*,\s*\S+,\s*\S+,\s*\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/AW02XX_201CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s*\S+,\s*\S*,\s*\S+,\s*\S+,\s*\S+,\s*\S+,\s*\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/MB01XX_101CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern># \S*, *\S*, *\S*, *\S*, *\S*, *\d{2} \S{3} \d{4} \d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/MB02XX_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern># \S*, *\S*, *\S*, *\S*, *\S*, *\S*, *\d{2} \S{3} \d{4} \d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/PIFM01_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/PIFM01_101CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
12 changes: 5 additions & 7 deletions conf/retired/PIFM02_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4},\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand All @@ -80,8 +80,8 @@
<columnType>STRING</columnType>
<columnType>STRING</columnType>
<columnType>STRING</columnType>
<columnType>LOCAL_DATE</columnType>
<columnType>LOCAL_TIME</columnType>
<columnType>STRING</columnType>
<columnType>LOCAL_DATE_TIME</columnType>
</columnTypes>
<!--
The character that delimits variables within the sample
Expand All @@ -99,15 +99,13 @@
Note: dateFormat and dateField are used together to locate, then parse the sample date
-->
<dateFormats>
<dateFormat>dd MMM yyyy</dateFormat>
<dateFormat>HH:mm:ss</dateFormat>
<dateFormat>dd MMM yyyy HH:mm:ss</dateFormat>
</dateFormats>
<!--
The list of date fields for each sample date component in a separate variable
One or more date fields are required, corresponding to the date/time variable positions in the data
-->
<dateFields>
<dateField>5</dateField>
<dateField>6</dateField>
</dateFields>
<!--
Expand All @@ -119,7 +117,7 @@
GMT+13:00 will also work, it may change over time due to daylight savings,
so the long identifier is best.
-->
<timeZone>Pacific/Honolulu</timeZone>
<timeZone>Pacific/Pohnpei</timeZone>
<!-- The list of data archivers used to write data to disk -->
<archivers>
<!-- Write the raw data to /data/raw -->
Expand Down
4 changes: 2 additions & 2 deletions conf/retired/PIFM02_101CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
below. If serial, add serialPortParams and sub elements below.
-->
<connectionParams>
<filePath>/home/kilonalu/PIFM02_001CTDXXXXR00_latest_data.txt</filePath>
<filePath>/home/kilonalu/PIFM02_101CTDXXXXR00_latest_data.txt</filePath>
</connectionParams>
<!-- The name of the instrument source as it appears in the DataTurbine -->
<rbnbName>PIFM02_101CTDXXXXR00</rbnbName>
Expand Down Expand Up @@ -50,7 +50,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/PIGM01_001CTDXXXXR00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/PIGM01_002CTDX002R00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern>#\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\S*,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down
2 changes: 1 addition & 1 deletion conf/retired/pp2_pohnpei.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
The regular expression used to match a data sample.
Best to keep the data pattern on one line below
-->
<dataPattern># \S*, *\S*, *\S*, *\S*, *\S*, *\d{2} \S{3} \d{4} \d{2}:\d{2}:\d{2}\s*</dataPattern>
<dataPattern>#\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\S+,\s+\d{2}\s+\S{3}\s+\d{4}\s+\d{2}:\d{2}:\d{2}\s*</dataPattern>
<!--
dataPrefix: A string of characters that prefix the data in a sample (e.g. '#')
-->
Expand Down

0 comments on commit 03143ad

Please sign in to comment.