Instruction manual

SECTION 3. REPORT: SPLIT
PC208W, Version 3.0, Instruction Manual 3-15
SmplMax(x;y;n) = Sample (y) on a maximum (x)
SmplMin(x;y;n) = Sample (y) on a minimum (x)
Total(x;n) = Totalize
WAvg(x;n) = Unit vector mean wind direction (in degrees)
NOTE: x can be an element or a valid expression. n is optional and is the number of arrays to
include in the function. Date and Edate can be used for the “n” in the Time Series functions (see
Table 3.3-8 Special Functions, this Section)
Illegal operations (e.g., logarithm of a negative
number) will cause SPLIT to store blanks for the
Output. It is possible to get a run time error
(error 0/1) if the floating point math exceeds the
limits of the PC.
The greatest number that can be output is
determined by the field width (Table 3.3-3,
“Column Widths” option). If the width is eight or
greater, the maximum number is 99999; for
widths less than eight the maximum is 9999.
Larger numbers will be stored as 99999 or 9999.
TABLE 3.3-8. SPLIT SPECIAL FUNCTIONS
Crlf = Insert carriage return line
feed in Output File.
Date(doy;y) = Convert day of year to
calendar date, where
doy=day of year and
y=year. Format is MM DD.
When used as the interval,
n, with Time Series
Functions (see example,
this Section), Date triggers
monthly time series
summaries.
Edate(doy;y) = Convert day of year to
European date, where
doy=day of year and
y=year. Format is DD MM.
When used as the interval,
n, with Time Series
Functions (see example,
this Section), Edate
triggers monthly time
series summaries.
"Label" = Insert Comment in Output
file. (Label is anything
within the quote marks.)
Line = Number of lines written to
Output file.
.PA = Page break to printer or to
the .RPT file.
3.3.5.1 Mathematical Functions, Details, and
Examples
The following array of PRINTABLE ASCII data
will be used for all Mathematical function
examples.
0105 0176 1200 -07.89 55.10 12.45 270.5
Abs(x) returns the absolute, or
positive value of element x.
Examples:
Abs(4) = 7.89
Abs(4∗5) = 434.74
Arctan(x) returns the arc tangent of
element x in degrees.
Examples:
Arctan(7) = 89.788
Arctan(7/6) = 87.365
Cos(x) returns the cosine of
element x in degrees.
Examples:
Cos(5) = .57215
Cos(5-6) = .73551
Exp(x) returns the exponential
base e to the power of
element x.
Example:
Exp(4) = .00037
Frac(x) returns the fractional value
of the element x.
Examples:
Frac(4) = -.89
Frac(6+7) = .95
Int(x) returns the integer portion
of the element x.
Examples:
Int(7) = 270
Int(5∗6) = 685