Section 3. Report: SPLIT
3-28
PC208W, Version 3.3, Instruction Manual
3.3.5.3 Special Functions, Details, and Examples
The Mt. Logan data set is used for the Special Function examples. These
functions are helpful in converting day of year to months and days of month
and formatting the output.
Crlf
returns a carriage return and line feed where the Crlf is
placed in the parameter file.
Examples:
Smpl("Max Temp";24),Max(3;24),
Smpl(Crlf;24),Smpl("Max RH";24),Max(4;24)
= Max Temp
67.33
Max RH
38.8
The Crlf is placed after the maximum temperature 67.33 so
that the maximum RH is on the next line.
Date(doy;y)
converts the day of year into a calendar date in the form MM
DD; where doy = element with the day of year and y =
containing year. If the year is not contained in the data set, a
year can be specified in the “ y” year location (i.e., 1987.).
A decimal must be included with the year. Date can be used
as the interval in a Time Series function to trigger a Time
Series output on the first day of each month. For example,
Avg(3;Date(1;1987.)) outputs the average temperature for
each month. This option is useful when the data set contains
several months of data and monthly information is needed.
Note that a decimal was used after the year to designate it as
a constant instead of an element number.
Examples:
Date(1;1987.) =
6 27 (June 27 repeated
6 27 23 times)
6 27
6 28
Smpl(Date(1;1987.);8) =
6 27 (June 27)
6 27 (June 27)
6 28 (June 28)
Edate(doy;y)
same as Date(doy;y), except form is DD MM.
Summary of Contents for PC208W
Page 2: ...This is a blank page...
Page 4: ......
Page 58: ...Section 2 Program EDLOG 2 18 PC208W Version 3 3 Instruction Manual This is a blank page...
Page 98: ...Section 3 Report SPLIT 3 40 PC208W Version 3 3 Instruction Manual This is a blank page...
Page 126: ...Section 6 Program Conversion 6 4 PC208W Version 3 3 Instruction Manual This is a blank page...
Page 156: ...This is a blank page...