hdfview
hdfview copied to clipboard
Stride error in HDFView when using Open As
I believe HDFView 3.2.2 (and earler) has a stride error when using Open As. The file containing a test array is here:
The test array was produced by generated a 4-d array in which the elements are the euclidian distance (in 4D) from the origin to the array indexes corresponding to that element (i.e. element(i,j,k,l) = sqrt(i**2+j**2+k**2+l**2)). I would therefore expect an image from any slice of the array to look like graduated colored rings with the origin at the 0,0,0,0 element.
I use Open As to open a 4 dimensional dataset. I then set the dimension order to be 1,0,2,3, as in:
and I get this image, which looks to me like classic case of a stride error: