cdm/src/main/java/ucar/nc2/wmo/Util.java
public static boolean equivilantName(String name1, String name2) {
    if (name1 == null || name2 == null) return (name1 == name2);
    String name1clean = cleanName(name1).toLowerCase();
    String name2clean = cleanName(name2).toLowerCase();
    if (name1.equals(name2)) return true;

    StringBuilder sb1 = new StringBuilder(name1clean);
    StringUtil2.remove(sb1, " -’'");
    StringBuilder sb2 = new StringBuilder(name2clean);
    StringUtil2.remove(sb2, " -’'");
    return sb1.toString().equals(sb2.toString());
  }
public static boolean equivilantName(String name1, String name2) {
    if (name1 == null || name2 == null) return (name1 == name2);
    String name1clean = cleanName(name1).toLowerCase();
    String name2clean = cleanName(name2).toLowerCase();
    if (name1.equals(name2)) return true;

    StringBuilder sb1 = new StringBuilder(name1clean);
    StringUtil2.remove(sb1, " -’'");
    StringBuilder sb2 = new StringBuilder(name2clean);
    StringUtil2.remove(sb2, " -’'");
    return sb1.toString().equals(sb2.toString());
  }
Compare two names from tables, trying to ignore superfulous characters.
@return true if these are equivilent