@AfterClass public static void tearDown() throws Exception { dodsfile.close(); }
@After public void after() throws IOException { dodsfile.close(); H5header.setDebugFlags(new DebugFlagsImpl("")); // make sure debug flags are off }
@Test public void testSubset() throws IOException { DODSNetcdfFile dodsfile = TestDODSRead.open("test.05?types.integers"); Variable v = null; Array a = null; // byte assert null != (v = dodsfile.findVariable("types.integers.b")); CheckByte( v); // int16 assert null != (v = dodsfile.findVariable("types.integers.i16")); CheckInt16( v); // int32 assert null != (v = dodsfile.findVariable("types.integers.i32")); CheckInt32( v); // uint32 assert null != (v = dodsfile.findVariable("types.integers.ui32")); CheckUint32( v); // uint16 assert null != (v = dodsfile.findVariable("types.integers.ui16")); CheckUint16( v); // uint32 assert null != (v = dodsfile.findVariable("types.integers.ui32")); CheckUint32( v); dodsfile.close(); }
dodsfile.close();