@Test @Category(NeedsCdmUnitTest.class) public void checkReadWithoutPaddingInVsize() throws IOException, InvalidRangeException { File dataFile = new File(testDir, "files/tst_small_withoutPaddingInVsize.nc"); try (NetcdfFile ncFile = NetcdfFile.open(dataFile.getPath(), null)) { Variable readVar = ncFile.findVariable("Times"); assertDataAsExpected(readVar); } }
@Test @Category(NeedsCdmUnitTest.class) public void checkReadWithPaddingInVsize() throws IOException, InvalidRangeException { File dataFile = new File(testDir, "files/tst_small.nc"); try (NetcdfFile ncFile = NetcdfFile.open(dataFile.getPath(), null)) { Variable readVar = ncFile.findVariable("Times"); assertDataAsExpected(readVar); } }