Met Flag Codes
Would be great to automate this -- yes we do have Perl Scripts - but a better workflow.
These are replacements you need to do:
R Out of Range.
Z Negative values zeroed out.
F Bad Value - Value below zeroing value.
B Bad Value - Value is equal to -6999 or known to be questionable
S is greater than a % of SwRadIn.
T Bad Value - Value below zeroing value.
N Wdir and WDirStD zeroed out because WSpd=0.
M Value Missing.