11 time series functions, details, and examples, Time series functions, details, and examples -58, 7. time series functions -58 – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 356

Advertising
background image

Section 8. Working with Data Files on the PC

SpaMax(x..y) returns the maximum value of elements x

through y.

Examples:

SpaMax(1..7) = 1200

SpaMax(1,2,5) = 176

SpaMin(x..y)

returns the minimum value of elements x through y.

Examples:

SpaMin(1..7) = –7.89

SpaMin(1,2,5) = 55.1

SpaSd(x..y)

returns the standard deviation of elements x through y.

Examples:

SpaSd(1..7) = 394.57

SpaSd(5,2,1) = 49.607

Sqrt(x)

returns the square root of element x.

Examples:

Sqrt(3) = 34.641

Sqrt(3^ 2.0) = 1200

8.2.3.1.11 Time Series Functions, Details, and Examples

TABLE 8-7. Time Series Functions

TIME SERIES FUNCTIONS
Avg(x;n)

= Average

Blanks(x;n)

= Number of blanks in element

Count(x;n)

= Number of data points in element

Max(x;n)

= Maximum

Min(x;n)

= Minimum

RunTotal(x;n)

= Running total

Sd(x;n)

= Standard deviation

Smpl(x;n)

= Sample raw value

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 to

produce monthly output (see TABLE 8-8, Special Functions).

8-58

Advertising