cdm/src/main/java/ucar/nc2/ParsedSectionSpec.java
public static String makeSectionSpecString(Variable v, List<Range> ranges) throws InvalidRangeException {
    StringBuilder sb = new StringBuilder();
    makeSpec(sb, v, ranges);
    return sb.toString();
  }
public static String makeSectionSpecString(Variable v, List<Range> ranges) throws InvalidRangeException {
    StringBuilder sb = new StringBuilder();
    makeSpec(sb, v, ranges);
    return sb.toString();
  }
public static String makeSectionSpecString ( Variable v , List < Range > ranges ) throws InvalidRangeException { StringBuilder sb = new StringBuilder ( ) ; makeSpec ( sb , v , ranges ) ; return sb . toString ( ) ; }
Make section specification String from a range list for a Variable.
@param v for this Variable.
@param ranges list of Range. Must includes all parent structures. The list be null, meaning use all.
Individual ranges may be null, meaning all for that dimension.
@return section specification String.
@throws InvalidRangeException is specified section doesnt match variable shape
Make section specification String from a range list for a Variable .