@Test public void testThatByteVariableCanBeRead() throws DAP2Exception, ParseException { DDS dds = createDDSWithByteVariable(); final DAPVariable[] dapVariables = new VariableExtractor().extractVariables(dds); assertEquals(1, dapVariables.length); assertEquals("metadata", dapVariables[0].getName()); assertEquals("atomic", dapVariables[0].getType()); assertEquals("Byte", dapVariables[0].getDataType()); assertEquals(0, dapVariables[0].getNumDimensions()); }
public DAPVariable[] extractVariables(OpendapLeaf leaf) { DDS dds = getDDS(leaf.getDdsUri()); return extractVariables(dds); }
VariableExtractor { public DAPVariable[] extractVariables(OpendapLeaf leaf) { DDS dds = getDDS(leaf.getDdsUri()); return extractVariables(dds); } }
VariableExtractor { public DAPVariable[] extractVariables(OpendapLeaf leaf) { DDS dds = getDDS(leaf.getDdsUri()); return extractVariables(dds); }  }
VariableExtractor { public DAPVariable[] extractVariables(OpendapLeaf leaf) { DDS dds = getDDS(leaf.getDdsUri()); return extractVariables(dds); }  DAPVariable[] extractVariables(OpendapLeaf leaf); DAPVariable[] extractVariables(DDS dds); }
VariableExtractor { public DAPVariable[] extractVariables(OpendapLeaf leaf) { DDS dds = getDDS(leaf.getDdsUri()); return extractVariables(dds); }  DAPVariable[] extractVariables(OpendapLeaf leaf); DAPVariable[] extractVariables(DDS dds);  }