@Test public void testThatMultipleVariablesCanBeExtractedFromADDSWithMultipleVariables() throws DAP2Exception, ParseException { DDS dds = createDDSWithMultipleVariables(); final DAPVariable[] dapVariables = new VariableExtractor().extractVariables(dds); assertEquals(6, dapVariables.length); assertEquals("Chlorophyll", dapVariables[0].getName()); assertEquals("Total_suspended_matter", dapVariables[1].getName()); assertEquals("Yellow_substance", dapVariables[2].getName()); assertEquals("l2_flags", dapVariables[3].getName()); assertEquals("X", dapVariables[4].getName()); assertEquals("Y", dapVariables[5].getName()); }
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);  }