Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Megan, Glad to hear that your application is basically working. > I would like to allow the user to load a new data set > without restarting the application. > . . . > It compiles alright, but i get the runtime exception: > visad.TypeException: ScalarType: name already used Try replacing all statements like: RealType type = new RealType(name); with statements: RealType type = RealType.getRealType(name); in your application. There is an argument signature of getRealType() to match every RealType() constructor signature. If the RealType has already been constructed, then getRealType() returns that rather than constructing a new one. Cheers, Bill ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html
visad
archives: