visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java
protected boolean readStationsAndTimes(boolean uniqueTimes) {

    for (DMPart apart : parts) {
      List<GempakParameter> params = makeParams(apart);
      partParamMap.put(apart.kprtnm, params);
    }

    // get the date/time keys
    dateTimeKeys = getDateTimeKeys();
    if ((dateTimeKeys == null) || dateTimeKeys.isEmpty()) {
      return false;
    }

    // get the station info
    stationKeys = findStationKeys();
    if ((stationKeys == null) || stationKeys.isEmpty()) {
      return false;
    }
    stations = getStationList();
    makeFileSubType();

    // null out the old cached list
    dates = null;
    dateList = makeDateList(uniqueTimes);

    return true;

  }
protected boolean readStationsAndTimes(boolean uniqueTimes) {

    for (DMPart apart : parts) {
      List<GempakParameter> params = makeParams(apart);
      partParamMap.put(apart.kprtnm, params);
    }

    // get the date/time keys
    dateTimeKeys = getDateTimeKeys();
    if ((dateTimeKeys == null) || dateTimeKeys.isEmpty()) {
      return false;
    }

    // get the station info
    stationKeys = findStationKeys();
    if ((stationKeys == null) || stationKeys.isEmpty()) {
      return false;
    }
    stations = getStationList();
    makeFileSubType();

    // null out the old cached list
    dates = null;
    dateList = makeDateList(uniqueTimes);

    return true;

  }
protected boolean readStationsAndTimes ( boolean uniqueTimes ) { for ( DMPart apart : parts ) { List < GempakParameter > params = makeParams ( apart ) ; partParamMap . put ( apart . kprtnm , params ) ; } // get the date/time keys dateTimeKeys = getDateTimeKeys ( ) ; if ( ( dateTimeKeys == null ) || dateTimeKeys . isEmpty ( ) ) { return false ; } // get the station info stationKeys = findStationKeys ( ) ; if ( ( stationKeys == null ) || stationKeys . isEmpty ( ) ) { return false ; } stations = getStationList ( ) ; makeFileSubType ( ) ; // null out the old cached list dates = null ; dateList = makeDateList ( uniqueTimes ) ; return true ; }
Read in the stations and times.  Subclasses should
call this during init()

@param uniqueTimes make a set of unique times
@return true if stations and times were read okay.
Read in the stations and times . Subclasses should call this during init ()