Campbell Scientific PC400 Datalogger Support Software User Manual
Page 77

Section 5. Split
Smpl(x;n)
returns a sample of element x every n
th
value.
Examples:
Smpl(4;8) = 23.98 (RH every 8 hours)
24.31 (RH every 8 hours)
37.13 (RH every 8 hours)
SmplMax(x;y;n)
looks for a maximum value in element x and samples
element y when the maximum is found. If an n
th
value is
specified then it outputs the sample on a maximum every n
th
value, otherwise it outputs the sample on a maximum at the
end of file.
Examples:
SmplMax(5;(3)) = 55.48 (on max wind speed sample
temperature)
SmplMax(5;(3,6);8) = 56.57 307.3
60.93
317.5
55.48
338.7
(on max wind speed sample temperature and wind direction
every 8 hours)
SmplMin(x;y;n) looks for a minimum value in element x and samples
element y when the minimum is found. If an n
th
value is
specified then it outputs the sample on a minimum every n
th
value, otherwise it outputs the sample on a minimum at the
end of file. Examples:
SmplMin(3;5) = 11.86 (on min temp sample wind speed)
SmplMin(3; (5,6);8) = 8.99 317.7
5.458 312
11.86
351.6
(on min temperature sample wind speed and wind direction
every 8 hours)
Total(x;n)
returns the total of element x over a data set or every n
th
value.
Examples: Total(5) = 211.36 (daily wind run)
WAvg(x;n)
Returns the unit vector mean wind direction in degrees of
element x (wind direction in degrees) over a full data set or
every nth value.
Example:
WAvg(6)
=
323.14 (mean wind direction for the day)
WAvg(6;4)
=
333.41 (mean wind direction for 4 hours)
315.73 (mean wind direction for 4 hours)
306
(mean wind direction for 4 hours)
314.92 (mean wind direction for 4 hours)
341.03 (mean wind direction for 4 hours)
328.09 (mean wind direction for 4 hours)
5-29