Campbell Scientific CSAT3 CSAT3 3-D Sonic Anemometer - Page 44
Process CSAT3 Output data.
View all Campbell Scientific CSAT3 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 44 highlights
CSAT3 Three Dimensional Sonic Anemometer 36: End (P95) 37: End (P95) ;Process CSAT3 Output data. ; 38: Beginning of Subroutine (P85) 1: 3 Subroutine 3 ;Add the offset (theta) between the CSAT3 negative x-axis and ;North. ; 39: Z=X+Y (P33) 1: 14 X Loc [ cmpss_dir ] 2: 35 Y Loc [ theta ] 3: 14 Z Loc [ cmpss_dir ] ;Ensure that the compass wind direction is positive. ; 40: If (XF) (P89) 1: 14 X Loc [ cmpss_dir ] 2: 4 < 3: 0 F 4: 30 Then Do 41: Z=X+F (P34) 1: 14 2: 360 3: 14 X Loc [ cmpss_dir ] F Z Loc [ cmpss_dir ] 42: End (P95) ;Ensure that the compass wind direction (cmpss_dir) falls between ;0 and 360 degrees. ; 43: Z=X MOD F (P46) 1: 14 X Loc [ cmpss_dir ] 2: 360 F 3: 14 Z Loc [ cmpss_dir ] ;Ensure that the csat3 wind direction (csat_dir) falls between ;between 180 and -180 degrees. ; 44: If (XF) (P89) 1: 17 X Loc [ csat_dir ] 2: 3 >= 3: 180 F 4: 30 Then Do 45: Z=X+F (P34) 1: 17 2: -360 3: 17 X Loc [ csat_dir ] F Z Loc [ csat_dir ] 36