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 Eugen, The first dimension in your float[2][3*4] array should be the fastest varying dimension (VisAD convention), so this should work if you invert the [3*4] arrays. Tom STAAB, Eugen wrote:
Hi there, are only quadratic Gridded2DSets allowed? Or: Why is a Gridded2DSet with the following coordinates not valid? new float[]{0,6,9} // X-Coordinates new float[]{0,7,8,9} // Y-Coordinates Which makes up the following float[2][3*4] Array of Coordinates: [[0.0, 0.0, 0.0, 0.0, 6.0, 6.0, 6.0, 6.0, 9.0, 9.0, 9.0, 9.0], [0.0, 7.0, 8.0, 9.0, 0.0, 7.0, 8.0, 9.0, 0.0, 7.0, 8.0, 9.0]]A VisadException Exception is thrown in the Samples consistency test of the Gridded2DSet class, line 171 ("Gridded2DSet: samples do not form avalid grid (0,0)"). The values of the variables at the point of the thrown expection are: i= 0 j= 0 xpos= -42.0 w1= -42.0 w2= 12.0 w3= 54.0 w4= 0.0 v00= float[2] (id=38) [0]= 0.0 [1]= 0.0 v10= float[2] (id=39) [0]= 0.0 [1]= 7.0 v01= float[2] (id=40) [0]= 0.0 [1]= 9.0 v11= float[2] (id=41) [0]= 6.0 [1]= 0.0 So, w2, w3 and w4 would cause the exception to be thrown. Is this intended? Thanks for your help! Best wishes, Eugen
visad
archives: