From c32ab1b84f0cfb5b07b7aa72299012a303c1c2f5 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Fri, 31 Dec 2010 13:31:09 +0100 Subject: [PATCH] handle NCD (nil clouds detected) in METAR --- simgear/environment/metar.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/simgear/environment/metar.cxx b/simgear/environment/metar.cxx index 569f0261..d5f2c7ba 100644 --- a/simgear/environment/metar.cxx +++ b/simgear/environment/metar.cxx @@ -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; -- 2.39.5