cdm/src/main/java/ucar/nc2/NetcdfFile.java
static public String makeValidCdmObjectName(String shortName) {
    if (shortName == null) return null;
    return StringUtil2.makeValidCdmObjectName(shortName);
  }
static public String makeValidCdmObjectName(String shortName) {
    if (shortName == null) return null;
    return StringUtil2.makeValidCdmObjectName(shortName);
  }
Create a valid CDM object name.
Control chars (< 0x20) are not allowed.
Trailing and leading blanks are not allowed and are stripped off.
A space is converted into an underscore "_".
A forward slash "/" is converted into an underscore "_".

@param shortName from this name
@return valid CDM object name