handle NCD (nil clouds detected) in METAR
This commit is contained in:
parent
73c0ce628b
commit
c32ab1b84f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user