Handle null level 2 metadata records

This commit is contained in:
Dan Paulat 2022-02-15 22:00:29 -06:00
parent 505b424de4
commit e237e086f0
3 changed files with 27 additions and 13 deletions

View file

@ -19,5 +19,15 @@ TEST(ar2v_file, klsx)
EXPECT_EQ(fileValid, true);
}
TEST(ar2v_file, tstl)
{
Ar2vFile file;
bool fileValid =
file.LoadFile(std::string(SCWX_TEST_DATA_DIR) +
"/nexrad/level2/Level2_TSTL_20220213_2357.ar2v");
EXPECT_EQ(fileValid, true);
}
} // namespace wsr88d
} // namespace scwx