Campbell Scientific PC400 Datalogger Support Software User Manual
Page 86

Section 5. Split
This function synchronizes according to day, hrmn (hour-minute), and/or
seconds. The syntax used to identify the time elements for array data is:
e
i
[day]:e
i
[hrmn]:e
i
[seconds]
Referring to TABLE 5-1, to identify the day of year for a mixed-array data file,
type:
2[189]::
for hrmn type:
:3[1200]:
and seconds are expressed as:
::4[5]
A single colon is assumed to be between day and hrmn (e.g., 2[189]: means
day, :3[1200] means hours, and 2[189]:3[1200] means day and hour-minute).
When the time synchronize function is used, a time interval must be specified
in the Copy line of the first data file. For example, 4[60] in the Copy line will
create a synchronized file containing the data from the input files that occurred
every 60 minutes. If no time interval is specified in the Copy line then the time
specified in the Start Condition becomes simply a starting time with no time
synchronization.
Typically, the starting time specified must actually be found in the input file
before the Start Condition is satisfied (e.g., if the input file starts at 1100 hrs
and 1000 hrs is entered for the starting time, with no day specified, Split will
skip over arrays until it reaches 1000 hrs the next day). However, the Start-
Stop On/After Time function can be enabled (Output tab, Other button) to
trigger the start of processing when the exact time is found or at the first
instance of data after that time has occurred.
Table-based dataloggers
Because the time stamp for a table-based datalogger is all one string, and
therefore read by Split as one element, the syntax is somewhat different. All
elements in the time stamp are specified by a 1 (if the time stamp is the first
item in each row of data).
The 1s in the string identify the position of the time stamp in the line of data.
Each colon represents a portion of the time stamp. The format is
1[year]:1[day]:1[hour/minute]:1[seconds]. The colons in the time stamp must
be present or the function will not work correctly.
Time synchronization can only be done for data from a single
year. It will not work over a year boundary.
NOTE
Time elements can be identified without specifying a starting time (e.g., 2:3).
If you are working with only one file, Split will begin processing that file at the
first record in the file. If any gap in the data is found, blank data (or the
“Replace Bad Data With” text) and a carriage return line feed will be inserted
for each line of missing data. Note that Split will also detect a gap in data if,
for instance, you specify a start time of 2[92]:3 (start at Julian day 92) and your
5-38