beautypg.com

A.6.9 spatial processing – Campbell Scientific CR1000 Measurement and Control System User Manual

Page 500

background image

Appendix A. CRBasic Programming Instructions

500 

 

 

VaporPressure 
Calculates vapor pressure from temperature and relative humidity. 

Syntax 

VaporPressure(Dest, Temp, RH)

WetDryBulb 
Calculates vapor pressure (kPa) from wet‐ and dry‐bulb temperatures and 
barometric pressure. 

Syntax 

WetDryBulb(Dest, DryTemp, WetTemp, Pressure)

A.6.9 Spatial Processing

AvgSpa 
Computes the spatial average of the values in the source array. 

Syntax 

AvgSpa(Dest, Swath, Source)

CovSpa 
Computes the spatial covariance of sets of data. 

Syntax 

CovSpa(Dest, NumOfCov, SizeOfSets, CoreArray, DatArray)

FFTSpa 
Performs a Fast Fourier Transform on a time series of measurements. 

Syntax 

FFTSpa(Dest, N, Source, Tau, Units, Option)

MaxSpa 
Finds the maximum value in an array. 

Syntax 

MaxSpa(Dest, Swath, Source)

MinSpa 
Finds the minimum value in an array. 

Syntax 

MinSpa(Dest, Swath, Source)

RMSSpa 
Computes the RMS (root mean square) value of an array. 

Syntax 

RMSSpa(Dest, Swath, Source)

SortSpa 
Sorts the elements of an array in ascending order. 

Syntax 

SortSpa(Dest, Swath, Source)

StdDevSpa 
Used to find the standard deviation of an array. 

Syntax 

StdDevSpa(Dest, Swath, Source)