GEUS-Glaciology-and-Climate / AWS_v3

PROMICE AWS v3 processor - IDL/GDL
0 stars 0 forks source link

Wind direction < 1 is flagged as invalid. Maybe should be < 0 or <= 0? #1

Open mankoff opened 3 years ago

mankoff commented 3 years ago

https://github.com/GEUS-PROMICE/PROMICE-AWS-processing/blob/a1508a6b06dc1ce749b0fa95c43a7879cb0993f1/IDL/AWSdataprocessing_v3.pro#L604

mankoff commented 3 years ago

Verified as a bug. Keeping the lower limit as 1 for now while I work on reproduction.

See EGP 2016 raw

                      wspd     wdir    wspd_x    wspd_y
time                                                   
2016-06-10 14:00:00  3.550   74.450  3.420059  0.951681
2016-06-10 14:10:00  2.138    0.169  0.006306  2.137991
2016-06-10 14:20:00  1.274  245.300 -1.157439 -0.532363
2016-06-10 14:30:00  4.619  252.800 -4.412431 -1.365875
2016-06-10 14:40:00  7.212  249.600 -6.759678 -2.513902
2016-06-10 14:50:00  6.696  255.500 -6.482717 -1.676545

OOL low as 0:

                         wspd        wdir    wspd_x    wspd_y
time                                                         
2016-06-10 14:00:00  4.248167  258.970232 -4.169694 -0.812755

OOL low as 1:

                         wspd        wdir    wspd_x    wspd_y
time                                                         
2016-06-10 14:00:00  4.248167  251.544055 -4.029672 -1.344865

IDL/GDL output has wspd as 4.25 and wdir as 251.5.