Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Commit 8cde397

Browse files
committed
fix modulo computation of offset (for tiepoints, too)
1 parent 117c823 commit 8cde397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seadas-reader/src/main/java/gov/nasa/gsfc/seadas/dataio/BowtieTiePointGeoCoding.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private void calculateScanlineOffset() {
174174
if(start == -1) { // did not find an overlap
175175
_scanlineOffset = 0;
176176
} else {
177-
_scanlineOffset = (_scanlineHeight - start) % _scanlineHeight;
177+
_scanlineOffset = start % _scanlineHeight;
178178
}
179179
}
180180

0 commit comments

Comments
 (0)