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

Output CSAT3 data.

Page 39 highlights

CSAT3 Three Dimensional Sonic Anemometer ;Disable Intermediate Processing if any of the diagnostic flags are ;on,vi.e. diag >= 4096 or any of the science data is "Not a ;Number", (-99999). ; 8: If (XF) (P89) 1: 36 X Loc [ diag_abs ] 2: 3 >= 3: 4096 F 4: 19 Set Intermed. Proc. Disable Flag High (Flag 9) ;Decode CSAT3 diagnostic flags. ; 9: Do (P86) 1: 2 Call Subroutine 2 ;Process CSAT3 output data every minute. ; 10: If time is (P92) 1: 0 Minutes (Seconds --) into a 2: 1 Interval (same units as above) 3: 10 Set Output Flag High (Flag 0) 11: Set Active Storage Area (P80) 1: 3 Input Storage Area 2: 13 Loc [ wnd_spd_a ] ;Compute the horizontal wind speed and wind direction in the ;compass coordinate system and in the CSAT3 right handed orthogonal ;coordinate system. ; 12: Wind Vector (P69) 1: 2 Reps 2: 0 Samples per Sub-Interval 3: 10 S, θ1, & σ(θ1) Orth. 4: 9 Wind Speed/East Loc [ Prop_E ] 5: 11 Wind Direction/North Loc [ Prop_N ] 13: Do (P86) 1: 29 Set Intermed. Proc. Disable Flag Low (Flag 9) ;Process CSAT3 wind direction data. ; 14: If Flag/Port (P91) 1: 10 Do if Output Flag is High (Flag 0) 2: 3 Call Subroutine 3 ;Output CSAT3 data. ; 15: If Flag/Port (P91) 1: 10 Do if Output Flag is High (Flag 0) 2: 10 Set Output Flag High (Flag 0) 16: Set Active Storage Area (P80) 1: 1 Final Storage Area 1 2: 100 Array ID 31

  • 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
;Disable Intermediate Processing if any of the diagnostic flags are
;on,vi.e. diag >= 4096 or any of the science data is "Not a
;Number", (-99999).
;
8:
If (X<=>F) (P89)
1:
36
X Loc [ diag_abs
]
2:
3
>=
3:
4096
F
4:
19
Set Intermed. Proc. Disable Flag High (Flag 9)
;Decode CSAT3 diagnostic flags.
;
9:
Do (P86)
1:
2
Call Subroutine 2
;Process CSAT3 output data every minute.
;
10:
If time is (P92)
1:
0
Minutes (Seconds --) into a
2:
1
Interval (same units as above)
3:
10
Set Output Flag High (Flag 0)
11:
Set Active Storage Area (P80)
1:
3
Input Storage Area
2:
13
Loc [ wnd_spd_a ]
;Compute the horizontal wind speed and wind direction in the
;compass coordinate system and in the CSAT3 right handed orthogonal
;coordinate system.
;
12:
Wind Vector (P69)
1:
2
Reps
2:
0
Samples per Sub-Interval
3:
10
S,
θ
1, &
σ
(
θ
1) Orth.
4:
9
Wind Speed/East Loc [ Prop_E
]
5:
11
Wind Direction/North Loc [ Prop_N
]
13:
Do (P86)
1:
29
Set Intermed. Proc. Disable Flag Low (Flag 9)
;Process CSAT3 wind direction data.
;
14:
If Flag/Port (P91)
1:
10
Do if Output Flag is High (Flag 0)
2:
3
Call Subroutine 3
;Output CSAT3 data.
;
15:
If Flag/Port (P91)
1:
10
Do if Output Flag is High (Flag 0)
2:
10
Set Output Flag High (Flag 0)
16:
Set Active Storage Area (P80)
1:
1
Final Storage Area 1
2:
100
Array ID
31