public void setUp() {
if (ncfile != null) return;
try {
ncfile = new NcMLReader().readNcML(filename, null);
} catch (java.net.MalformedURLException e) {
System.out.println("bad URL error = " + e);
} catch (IOException e) {
System.out.println("IO error = " + e);
e.printStackTrace();