// System.exit(0);
stns = dsc.getStations();
System.out.println(" nstns= " + stns.size());
Station stn = dsc.getRadarStation("DVN"); //(StationImpl)stns.get(12);
System.out.println("stn = " + stn);
// List ulist = stn.getRadarStationURIs();
// assert null != ulist;
List tl = dsc.getRadarTimeSpan();
Date ts1 = DateUnit.getStandardOrISO("1998-06-28T01:01:21Z");
Date ts2 = DateUnit.getStandardOrISO("1998-07-30T19:01:21Z");
List pd = dsc.getRadarProducts();
List<Date> tlist = dsc.getRadarStationTimes(stn.getName(), "BREF1",
ts1, ts2);
int sz = tlist.size();
for (int i = 0; i < 3; i++) {
Date ts0 = (Date) tlist.get(i);
RadialDatasetSweep rds = dsc.getRadarDataset(stn.getName(),
"BREF1", ts0);
int tt = 0;
}
Date ts0 = (Date) tlist.get(0);
URI stURL = dsc.getRadarDatasetURI(stn.getName(), "BREF1", ts0);
assert null != stURL;
DateSelection dateS = new DateSelection(ts1, ts2);
dateS.setInterval((double) 3600 * 1000);
dateS.setRoundTo((double) 3600 * 1000);
dateS.setPreRange((double) 500 * 1000);
dateS.setPostRange((double) 500 * 1000);
for (int i = 0; i < stns.size(); i++) {
stn = (Station) stns.get(i);
List<Date> times = dsc.getRadarStationTimes(
stn.getName(),
"BREF1",
new Date(
System.currentTimeMillis()
- 3600 * 1000 * 24 * 100), new Date(
System.currentTimeMillis()));