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 Curtis, > It turns out that the range type is only set to doubles if the > provided *domain* set is a DoubleSet. This behavior seems somewhat > non-intuitive. VisAD Data objects are immutable (i.e., cannot be modified after constructed) except for Field range and ErrorEstimate values, in order to promote thread safeness. In the situation you've encountered, the values are mutable but the arrays allocated to hold them (float[][] or double[] or scaled integers) are not. Hence the choice between FloatSet and DoubleSet can only be made in the constructor. However, both signatures of setSamples (taking float[][] and double[][] arguments) are part of the class signature and must always be supported. Cheers, Bill
visad
archives: