Campbell Scientific CSAT3 3-D Sonic Anemometer User Manual
Page 41

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