cdm/src/main/java/ucar/nc2/dataset/EnhancementsImpl.java
public void setUnitsString( String units) {
    this.units = units;
    forVar.addAttribute( new Attribute(CDM.UNITS, units));
  }
public void setUnitsString( String units) {
    this.units = units;
    forVar.addAttribute( new Attribute(CDM.UNITS, units));
  }
Set the Unit String for this Variable. Default is to use the CDM.UNITS attribute.
@param units  unit string