Instruction manual

SECTION 3. REPORT: SPLIT
3-8 PC208W, Version 3.0, Instruction Manual
The syntax can be expressed as:
e
i
[val
i
]
where e
i
= the position number of the element
within the array
val
i
= the value of that element.
Logical “and” and “or” statements can be used
when specifying the Start Condition. A logical
“and” statement means that all conditions must
be true for the statement to be true. Up to three
conditions can be connected with “and”
statements. If too many “and” statements are
used, an error message will be displayed when
you run SPLIT.
The logical “or” statement means that if
any
of
the conditions are true, then the statement is
true. SPLIT allows up to six conditions to be
connected with “or” statements. Additionally,
each “or” statement can contain up to three
“and” conditions. As with the “and” statements,
if the maximum number of valid statements is
exceeded, an error message will be displayed.
These rules for logical statements also apply to
the Stop and Copy Conditions.
An example of a simple logical “and” statement
follows:
2[189]and3[1200]
Element two (the Julian day) must equal 189,
and element three (the time in hours/minutes)
must equal 1200.
If the following “and” statement was used:
2[189]and3[1200]and4[92]and5[67]
an error would be returned because the
maximum number of allowable “and”
statements has been exceeded.
A range can be specified for val
i
by putting ".."
between the lower and upper limit. For
example:
2[189]and7[200..275]
In this example two conditions must be satisfied
to start processing data. First, the day of year
must be 189, and second, the wind direction
must be between 200 to 275 degrees, inclusive.
The time synchronize function is useful when
data are missing from files or several files of
data need to be merged together. The files are
synchronized according to time. This function
synchronizes according to day, hrmn (hour-
minute), and/or seconds. The syntax used to
identify the time elements is:
e
i
[day]:e
i
[hrmn]:e
i
[seconds]
Referring to Table 3.3-1, to identify the day of
year, 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. 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.
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).
Time elements can be identified without
specifying a starting time (e.g., 2:3). When no
starting time is specified, SPLIT assumes the
starting time to be 0 and inserts carriage return
line feeds (CRLF) at the start of the Output File.
The number of CRLFs equals the time between
0 and the time of the first array selected, divided
by the interval specified in the Copy condition.
When time synchronizing, if multiple input files
are given starting times, SPLIT starts the
Output at the earliest specified starting time.
Blanks or the comment entered in the “Replace
bad data with” field are inserted for values from