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.
> > It gives a "visad.TypeException: ScalarType: name already used" stemming from > ScalarType.java:186. Apparently it did not like the fact that I am trying to > use the same row and column with the same names such as: > row = new RealType("X", SI.meter, null); > column = new RealType("Y", SI.meter, null); > I presume the name "X" is where it cracks. Hi Tolga, You need not have uniquely named RealTypes. Try replacing your code above with: row = RealType.getRealType("X", SI.meter, null); column = RealType.getRealType("Y", SI.meter, null); If RealTypes named "X" and "Y" already exist, this will use those, and if they do not exist already, it will create them. -Curtis
visad
archives: