handle NCD (nil clouds detected) in METAR

This commit is contained in:
Torsten Dreyer 2010-12-31 13:31:09 +01:00
parent 73c0ce628b
commit c32ab1b84f

View File

@ -767,6 +767,7 @@ bool SGMetar::scanSkyCondition()
if (!strncmp(m, "CLR", i = 3) // clear
|| !strncmp(m, "SKC", i = 3) // sky clear
|| !strncmp(m, "NCD", i = 3) // nil cloud detected
|| !strncmp(m, "NSC", i = 3) // no significant clouds
|| !strncmp(m, "CAVOK", i = 5)) { // ceiling and visibility OK (implies 9999)
m += i;