Skip to content

Commit cefb328

Browse files
committed
corrected window array geometry
1 parent 05315c6 commit cefb328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/bc/fiduceo/reader/insitu/gruan_uleic/GruanUleicInsituReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public Array readScaled(int centerX, int centerY, Interval interval, String vari
145145
final int windowCenterX = windowWidth / 2;
146146
final int windowCenterY = windowHeight / 2;
147147

148-
final int[] shape = {windowWidth, windowHeight};
148+
final int[] shape = {windowHeight, windowWidth};
149149
final Array windowArray = Array.factory(variable.getDataType(), shape);
150150
for (int y = 0; y < windowHeight; y++) {
151151
for (int x = 0; x < windowWidth; x++) {

0 commit comments

Comments
 (0)