Drizzle is considered to be light rain. Backportable to 2020.2. Fixes ticket 1792
This commit is contained in:
parent
1b00ece8c4
commit
f1d00c9b40
@ -952,6 +952,8 @@ bool SGMetar::scanWeather()
|
|||||||
weather += string(a->text) + " ";
|
weather += string(a->text) + " ";
|
||||||
if (!strcmp(a->id, "RA"))
|
if (!strcmp(a->id, "RA"))
|
||||||
_rain = w.intensity;
|
_rain = w.intensity;
|
||||||
|
else if (!strcmp(a->id, "DZ"))
|
||||||
|
_rain = LIGHT;
|
||||||
else if (!strcmp(a->id, "HA"))
|
else if (!strcmp(a->id, "HA"))
|
||||||
_hail = w.intensity;
|
_hail = w.intensity;
|
||||||
else if (!strcmp(a->id, "SN"))
|
else if (!strcmp(a->id, "SN"))
|
||||||
|
Loading…
Reference in New Issue
Block a user