visad/src/main/java/ucar/nc2/iosp/vis5d/Vis5DIosp.java
private static void initUnitTable() {
    unitTable = new Hashtable<>();
    // temperatures
    unitTable.put("t", "K");
    unitTable.put("td", "K");
    unitTable.put("thte", "K");
    // winds
    unitTable.put("u", "m/s");
    unitTable.put("v", "m/s");
    unitTable.put("w", "m/s");
    // pressure
    unitTable.put("p", "hPa");
    unitTable.put("mmsl", "hPa");
    // moisture
    unitTable.put("rh", "%");
    // misc
    unitTable.put("rhfz", "%");
    unitTable.put("zagl", "m");
  }
private static void initUnitTable() {
    unitTable = new Hashtable<>();
    // temperatures
    unitTable.put("t", "K");
    unitTable.put("td", "K");
    unitTable.put("thte", "K");
    // winds
    unitTable.put("u", "m/s");
    unitTable.put("v", "m/s");
    unitTable.put("w", "m/s");
    // pressure
    unitTable.put("p", "hPa");
    unitTable.put("mmsl", "hPa");
    // moisture
    unitTable.put("rh", "%");
    // misc
    unitTable.put("rhfz", "%");
    unitTable.put("zagl", "m");
  }
private static void initUnitTable ( ) { unitTable = new Hashtable <> ( ) ; // temperatures unitTable . put ( "t" , "K" ) ; unitTable . put ( "td" , "K" ) ; unitTable . put ( "thte" , "K" ) ; // winds unitTable . put ( "u" , "m/s" ) ; unitTable . put ( "v" , "m/s" ) ; unitTable . put ( "w" , "m/s" ) ; // pressure unitTable . put ( "p" , "hPa" ) ; unitTable . put ( "mmsl" , "hPa" ) ; // moisture unitTable . put ( "rh" , "%" ) ; // misc unitTable . put ( "rhfz" , "%" ) ; unitTable . put ( "zagl" , "m" ) ; }
Initialize the unit table.  This is used if there are no
units in the file.
Initialize the unit table . This is used if there are no units in the file .