@BeforeClass public static void setUp() throws Exception { DODSNetcdfFile.setPreload(false); dodsfile = TestDODSRead.open("test.53"); DODSNetcdfFile.setPreload(true); }
@Before public void setUp() throws Exception { DODSNetcdfFile.setPreload(false); dodsfile = TestDODSRead.open("test.50"); DODSNetcdfFile.setPreload(true); DODSNetcdfFile.setDebugFlags(new DebugFlagsImpl("DODS/serverCall")); }
@Test public void testScalarReadUncached() throws IOException { DODSNetcdfFile.setPreload( false); DODSNetcdfFile dodsfile = TestDODSRead.open("test.04"); DODSNetcdfFile.setPreload( true); Variable v = null; assert null != (v = dodsfile.findVariable("types")); assert v instanceof Structure; v.setCaching(false); scalarRead((Structure) v); }
@Test public void testSection() throws IOException, InvalidRangeException { DODSNetcdfFile.setPreload( false); DODSNetcdfFile dodsfile = TestDODSRead.open("test.03"); DODSNetcdfFile.setPreload( true);