glamod / glamod_landQC

QC for land data
0 stars 0 forks source link

Account for measurement flags in winds data #103

Closed rjhd2 closed 1 year ago

rjhd2 commented 1 year ago

Some stations (From NCEI/CNR source) have measurement codes for wind speed and direction suggesting these are not 10-min averages:

'A':'A-Abr-Beauf', 'B':'B-Beaufort', 'C':'C-Calm', 'H':'H-5min-avg-spd', N':'N-Normal', 'R':'R-60min-avg-spd', 'Q':'Q-Squall', 'T':'T-180min-avg-spd', 'V':'V-Variable', '9':'9-Missing'

Mask the ObsVar when these are not Calm or Normal so that QC isn't processing 180min averages or beaufort estimates when comparing values. Dataframe values remain untouched, so all should be well.