Campbell Scientific CSAT3 CSAT3 3-D Sonic Anemometer - Page 34

DataInterval 0,OUTPUT_INTERVAL,Min,10

Page 34 highlights

CSAT3 Three Dimensional Sonic Anemometer 'Wind directions and speed. Dim wnd_out(8) 'Alias wnd_out(1) = wnd_spd - in compass coordinate system, same as CSAT3. 'Alias wnd_out(2) = rslt_wnd_spd - in compass coordinate system, same as CSAT3. Alias wnd_out(3) = wnd_dir_compass 'Alias wnd_out(4) = std_wnd_dir - in compass coordinate system, same as CSAT3. Alias wnd_out(5) = wnd_spd Alias wnd_out(6) = rslt_wnd_spd Alias wnd_out(7) = wnd_dir_csat3 Alias wnd_out(8) = std_wnd_dir Units wnd_dir_compass = degrees Units wnd_spd = m/s Units rslt_wnd_spd = m/s Units wnd_dir_csat3 = degrees Units std_wnd_dir = degrees 'Diagnostic variables. Dim disable_flag_on(2) AS Boolean Dim n Units n = samples 'Intermediate processing disable flags. 'Number of samples in the online stats. 'Working variables. Dim wind_east Dim wind_north Dim diag_csat_work AS Long 'East wind in compass coordinate system. 'North wind in compass coordinate system. '*** Final Output Data Tables *** 'Online stats data. DataTable (stats,TRUE,-1) DataInterval (0,OUTPUT_INTERVAL,Min,10) Average (1,Ts,IEEE4,disable_flag_on(1)) StdDev (1,Ts,IEEE4,disable_flag_on(1)) Average (1,Ux,IEEE4,disable_flag_on(1)) StdDev (1,Ux,IEEE4,disable_flag_on(1)) Average (1,Uy,IEEE4,disable_flag_on(1)) StdDev (1,Uy,IEEE4,disable_flag_on(1)) Average (1,Uz,IEEE4,disable_flag_on(1)) StdDev (1,Uz,IEEE4,disable_flag_on(1)) Sample (1,wnd_dir_compass,IEEE4) Sample (1,wnd_dir_csat3,IEEE4) Sample (1,wnd_spd,IEEE4) Sample (1,rslt_wnd_spd,IEEE4) Sample (1,std_wnd_dir,IEEE4) Totalize (1,n,IEEE4,disable_flag_on(1)) Totalize (1,n,IEEE4,NOT (disable_flag_on(1) OR disable_flag_on(2))) FieldNames ("csat_warnings") 26

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72

CSAT3 Three Dimensional Sonic Anemometer
'Wind directions and speed.
Dim wnd_out(8)
'Alias wnd_out(1) = wnd_spd - in compass coordinate system, same as CSAT3.
'Alias wnd_out(2) = rslt_wnd_spd - in compass coordinate system, same as CSAT3.
Alias wnd_out(3) = wnd_dir_compass
'Alias wnd_out(4) = std_wnd_dir - in compass coordinate system, same as CSAT3.
Alias wnd_out(5) = wnd_spd
Alias wnd_out(6) = rslt_wnd_spd
Alias wnd_out(7) = wnd_dir_csat3
Alias wnd_out(8) = std_wnd_dir
Units wnd_dir_compass = degrees
Units wnd_spd = m/s
Units rslt_wnd_spd = m/s
Units wnd_dir_csat3 = degrees
Units std_wnd_dir = degrees
'Diagnostic variables.
Dim disable_flag_on(2) AS Boolean
'Intermediate processing disable flags.
Dim n
'Number of samples in the online stats.
Units n = samples
'Working variables.
Dim wind_east
'East wind in compass coordinate system.
Dim wind_north
'North wind in compass coordinate system.
Dim diag_csat_work AS Long
'*** Final Output Data Tables ***
'Online stats data.
DataTable (stats,TRUE,-1)
DataInterval (0,OUTPUT_INTERVAL,Min,10)
Average (1,Ts,IEEE4,disable_flag_on(1))
StdDev (1,Ts,IEEE4,disable_flag_on(1))
Average (1,Ux,IEEE4,disable_flag_on(1))
StdDev (1,Ux,IEEE4,disable_flag_on(1))
Average (1,Uy,IEEE4,disable_flag_on(1))
StdDev (1,Uy,IEEE4,disable_flag_on(1))
Average (1,Uz,IEEE4,disable_flag_on(1))
StdDev (1,Uz,IEEE4,disable_flag_on(1))
Sample (1,wnd_dir_compass,IEEE4)
Sample (1,wnd_dir_csat3,IEEE4)
Sample (1,wnd_spd,IEEE4)
Sample (1,rslt_wnd_spd,IEEE4)
Sample (1,std_wnd_dir,IEEE4)
Totalize (1,n,IEEE4,disable_flag_on(1))
Totalize (1,n,IEEE4,NOT (disable_flag_on(1) OR disable_flag_on(2)))
FieldNames ("csat_warnings")
26