grib/src/main/java/ucar/nc2/grib/grib2/table/Grib2Tables.java
@Override
  public VertCoordType getVertUnit(int code) {
    //     VertCoordType(int code, String desc, String abbrev, String units, String datum, boolean isPositiveUp, boolean isLayer)
    switch (code) {

      case 11:
      case 12:
        return new VertCoordType(code, "m", null, true);

      case 20:
        return new VertCoordType(code, "K", null, false);

      case 100:
        return new VertCoordType(code, "Pa", null, false);

      case 102:
        return new VertCoordType(code, "m", "mean sea level", true);

      case 103:
        return new VertCoordType(code, "m", "ground", true);

      case 104:
      case 105:
        return new VertCoordType(code, "sigma", null, false); // positive?

      case 106:
        return new VertCoordType(code, "m", "land surface", false);

      case 107:
        return new VertCoordType(code, "K", null, true); // positive?

      case 108:
        return new VertCoordType(code, "Pa", "ground", true);

      case 109:
        return new VertCoordType(code, "K m2 kg-1 s-1", null, true); // positive?

      case 114:
        return new VertCoordType(code, "numeric", null, false);

      case 117:
        return new VertCoordType(code, "m", null, true);

      case 119:
        return new VertCoordType(code, "Pa", null, false); // ??

      case 160:
        return new VertCoordType(code, "m", "sea level", false);

      case 161:
        return new VertCoordType(code, "m", "water surface", false);

      // LOOK NCEP specific
      case 235:
        return new VertCoordType(code, "0.1 C", null, true);

      case 237:
        return new VertCoordType(code, "m", null, true);

      case 238:
        return new VertCoordType(code, "m", null, true);

      default:
        return new VertCoordType(code, null, null, true);
    }
  }
@Override
  public VertCoordType getVertUnit(int code) {
    //     VertCoordType(int code, String desc, String abbrev, String units, String datum, boolean isPositiveUp, boolean isLayer)
    switch (code) {

      case 11:
      case 12:
        return new VertCoordType(code, "m", null, true);

      case 20:
        return new VertCoordType(code, "K", null, false);

      case 100:
        return new VertCoordType(code, "Pa", null, false);

      case 102:
        return new VertCoordType(code, "m", "mean sea level", true);

      case 103:
        return new VertCoordType(code, "m", "ground", true);

      case 104:
      case 105:
        return new VertCoordType(code, "sigma", null, false); // positive?

      case 106:
        return new VertCoordType(code, "m", "land surface", false);

      case 107:
        return new VertCoordType(code, "K", null, true); // positive?

      case 108:
        return new VertCoordType(code, "Pa", "ground", true);

      case 109:
        return new VertCoordType(code, "K m2 kg-1 s-1", null, true); // positive?

      case 114:
        return new VertCoordType(code, "numeric", null, false);

      case 117:
        return new VertCoordType(code, "m", null, true);

      case 119:
        return new VertCoordType(code, "Pa", null, false); // ??

      case 160:
        return new VertCoordType(code, "m", "sea level", false);

      case 161:
        return new VertCoordType(code, "m", "water surface", false);

      // LOOK NCEP specific
      case 235:
        return new VertCoordType(code, "0.1 C", null, true);

      case 237:
        return new VertCoordType(code, "m", null, true);

      case 238:
        return new VertCoordType(code, "m", null, true);

      default:
        return new VertCoordType(code, null, null, true);
    }
  }
Unit of vertical coordinate.
from Grib2 code table 4.5.
Only levels with units get a dimension added

@param code code from table 4.5
@return level unit, default is empty unit string