// loop over all variables found
Enumeration variables = dds.getVariables();
while (variables.hasMoreElements()) {
BaseType variable = (BaseType)variables.nextElement();
String varName = variable.getName();
if (variable instanceof DArray) {
LOG.log(Level.FINE, "Extracting Darray variable: "+varName);
} else if (variable instanceof DGrid) {
LOG.log(Level.FINE, "Extracting Dgrid variable: "+varName);
}