opendap/src/main/java/ucar/nc2/dods/DodsV.java
void parseDAS(DAS das) throws IOException {
    Enumeration tableNames = das.getNames();
    while (tableNames.hasMoreElements()) {
      String tableName = (String) tableNames.nextElement();
      AttributeTable attTable = das.getAttributeTableN(tableName);

      if (tableName.equals("NC_GLOBAL") || tableName.equals("HDF_GLOBAL")) {
        addAttributeTable(this, attTable, tableName, true);

      } else if (tableName.equals("DODS_EXTRA") || tableName.equals("EXTRA_DIMENSION")) {
        // handled seperately in DODSNetcdfFile
        continue;

      } else {
        DodsV dodsV = findDodsV(tableName, false); // short name matches the table name
        if (dodsV != null) {
          addAttributeTable(dodsV, attTable, tableName, true);
        } else {
          dodsV = findTableDotDelimited(tableName);
          if (dodsV != null) {
            addAttributeTable(dodsV, attTable, tableName, true);
          } else {
            if (debugAttributes) System.out.println("DODSNetcdf getAttributes CANT find <" + tableName + "> add to globals");
            addAttributeTable(this, attTable, tableName, false);
          }
        }
      }
    }
  }
void parseDAS(DAS das) throws IOException {
    Enumeration tableNames = das.getNames();
    while (tableNames.hasMoreElements()) {
      String tableName = (String) tableNames.nextElement();
      AttributeTable attTable = das.getAttributeTableN(tableName);

      if (tableName.equals("NC_GLOBAL") || tableName.equals("HDF_GLOBAL")) {
        addAttributeTable(this, attTable, tableName, true);

      } else if (tableName.equals("DODS_EXTRA") || tableName.equals("EXTRA_DIMENSION")) {
        // handled seperately in DODSNetcdfFile
        continue;

      } else {
        DodsV dodsV = findDodsV(tableName, false); // short name matches the table name
        if (dodsV != null) {
          addAttributeTable(dodsV, attTable, tableName, true);
        } else {
          dodsV = findTableDotDelimited(tableName);
          if (dodsV != null) {
            addAttributeTable(dodsV, attTable, tableName, true);
          } else {
            if (debugAttributes) System.out.println("DODSNetcdf getAttributes CANT find <" + tableName + "> add to globals");
            addAttributeTable(this, attTable, tableName, false);
          }
        }
      }
    }
  }
void parseDAS ( DAS das ) throws IOException { Enumeration tableNames = das . getNames ( ) ; while ( tableNames . hasMoreElements ( ) ) { String tableName = ( String ) tableNames . nextElement ( ) ; AttributeTable attTable = das . getAttributeTableN ( tableName ) ; if ( tableName . equals ( "NC_GLOBAL" ) || tableName . equals ( "HDF_GLOBAL" ) ) { addAttributeTable ( this , attTable , tableName , true ) ; } else if ( tableName . equals ( "DODS_EXTRA" ) || tableName . equals ( "EXTRA_DIMENSION" ) ) { // handled seperately in DODSNetcdfFile
 continue ; } else { DodsV dodsV = findDodsV ( tableName , false ) ; // short name matches the table name
 if ( dodsV != null ) { addAttributeTable ( dodsV , attTable , tableName , true ) ; } else { dodsV = findTableDotDelimited ( tableName ) ; if ( dodsV != null ) { addAttributeTable ( dodsV , attTable , tableName , true ) ; } else { if ( debugAttributes ) System . out . println ( "DODSNetcdf getAttributes CANT find <" + tableName + "> add to globals" ) ; addAttributeTable ( this , attTable , tableName , false ) ; } } } } }
Parse the DAS, assign attribute tables to the DodsV objects.
Nested attribute tables are supposed to follow the tree we construct with dodsV, so its easy to assign to correct dodsV.

@param das parse this DAS
@throws IOException on io error
Parse the DAS assign attribute tables to the DodsV objects . Nested attribute tables are supposed to follow the tree we construct with dodsV so its easy to assign to correct dodsV .