]> git.mxchange.org Git - simgear.git/commit
Fix problems parsing METAR strings that denote temporary sensor failures
authorRichard Senior <richard.j.senior@gmail.com>
Tue, 5 Apr 2016 10:49:59 +0000 (11:49 +0100)
committerRichard Senior <richard.j.senior@gmail.com>
Tue, 5 Apr 2016 11:12:04 +0000 (12:12 +0100)
commit92a51059b4a1dc19c78331ae34abcab676bcf766
tree357d7eb142fa184aefbd7a34853392a02834b298
parent177c5ec709810c534b0bd8da4c1a1175d9b414d7
Fix problems parsing METAR strings that denote temporary sensor failures

1. Weather (normally blank, RA, SN, etc.) can be "//"
2. Cloud can be suffixed by "///", e.g. FEW045///

Also updated unit test.
simgear/environment/metar.cxx
simgear/environment/test_metar.cxx