static public String getDimensionName(NetcdfDataset ds, String key, Formatter errlog) {
    Dimension d = getDimension(ds, key, errlog);
    return (d == null) ? null : d.getShortName();
  }
static public String getDimensionName(NetcdfDataset ds, String key, Formatter errlog) {
    Dimension d = getDimension(ds, key, errlog);
    return (d == null) ? null : d.getShortName();
  }
static public String getDimensionName ( NetcdfDataset ds , String key , Formatter errlog ) { Dimension d = getDimension ( ds , key , errlog ) ; return ( d == null ) ? null : d . getShortName ( ) ; }
Find the dimension pointed to by key

@param ds     in this dataset
@param key    may be dimension name or ":gatt" where gatt is local attribute whose value is the dimension name
@param errlog error messages here
@return name of dimension or null if not exist
Find the dimension pointed to by key