// get a list of station obs for this station public List getData(Station s, CancelTask cancel) throws IOException { ArrayStructure stationData = readData("ID " + s.getName(), cancel); ArrayList stationObs = new ArrayList(); IndexIterator ii = stationData.getIndexIterator(); while (ii.hasNext()) { stationObs.add(new StationObs((Station) s, (StructureData) ii.getObjectNext())); } return stationObs; }