ucar.unidata.geoloc.Station ss = sod.getStation();
assert (ss.getName().equals(s.getName()));
System.out.println(ss.getName() + " " + format.toDateTimeStringISO( sod.getObservationTimeAsDate()));
StructureData sdata = sod.getData();
assert sdata != null;
}
System.out.println("------------------\n");
Date start = format.isoDateTimeFormat("2007-03-27T09:18:56Z");
Date end = format.isoDateTimeFormat("2007-03-30T10:52:48Z");
iter = sdc.getDataIterator(s, start, end);
while (iter.hasNext()) {
Object o = iter.nextData();
assert (o instanceof StationObsDatatype);
StationObsDatatype sod = (StationObsDatatype) o;
ucar.unidata.geoloc.Station ss = sod.getStation();
assert (ss.getName().equals(s.getName()));
System.out.println(ss.getName() + " " + format.toDateTimeStringISO( sod.getObservationTimeAsDate()));
StructureData sdata = sod.getData();
assert sdata != null;
}
}