visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java
public void printStations(boolean list) {
    StringBuilder builder = new StringBuilder();
    builder.append("\nStations:\n");
    if (list) {
      for (GempakStation station : getStations()) {
        builder.append(station);
        builder.append("\n");
      }
    } else {
      builder.append("\t");
      builder.append(getStations().size());
    }
    System.out.println(builder.toString());
  }
public void printStations(boolean list) {
    StringBuilder builder = new StringBuilder();
    builder.append("\nStations:\n");
    if (list) {
      for (GempakStation station : getStations()) {
        builder.append(station);
        builder.append("\n");
      }
    } else {
      builder.append("\t");
      builder.append(getStations().size());
    }
    System.out.println(builder.toString());
  }
Print the list of dates in the file

@param list true to list each station, false to list summary