In metar_validation_tests.cpp we currently have ValidateTemperatureDewpoint and ValidateAltimeter which assume that we always have temperature/dewpoint and altimeter data in the METAR being tested. This may not be the case in all tests, especially with the new optional support in METARs.
KRHV 060350Z 13020KT 4SM RA BKN030 15/13 29.65
KHAF 140055Z AUTO 30005KT 5SM HZ A3017 RMK AO2
KHAF 140035Z AUTO 5SM HZ RMK AO2
In
metar_validation_tests.cpp
we currently haveValidateTemperatureDewpoint
andValidateAltimeter
which assume that we always have temperature/dewpoint and altimeter data in the METAR being tested. This may not be the case in all tests, especially with the new optional support in METARs.metar_validation_tests.cpp