Not that it should matter but change the thresholds a bit to be consistant
with what I do in other portions of the code.
This commit is contained in:
parent
d70cd72fbd
commit
727e512fad
1 changed files with 4 additions and 4 deletions
|
@ -146,9 +146,9 @@ TGArray::parse( SGBucket& b ) {
|
||||||
last_elev = -32768;
|
last_elev = -32768;
|
||||||
have_void = false;
|
have_void = false;
|
||||||
for ( int j = 0; j < rows; j++ ) {
|
for ( int j = 0; j < rows; j++ ) {
|
||||||
if ( in_data[i][j] > -9999 ) {
|
if ( in_data[i][j] > -9000 ) {
|
||||||
last_elev = in_data[i][j];
|
last_elev = in_data[i][j];
|
||||||
} else if ( last_elev > -9999 ) {
|
} else if ( last_elev > -9000 ) {
|
||||||
in_data[i][j] = last_elev;
|
in_data[i][j] = last_elev;
|
||||||
} else {
|
} else {
|
||||||
have_void = true;
|
have_void = true;
|
||||||
|
@ -158,9 +158,9 @@ TGArray::parse( SGBucket& b ) {
|
||||||
last_elev = -32768;
|
last_elev = -32768;
|
||||||
have_void = false;
|
have_void = false;
|
||||||
for ( int j = rows - 1; j >= 0; j-- ) {
|
for ( int j = rows - 1; j >= 0; j-- ) {
|
||||||
if ( in_data[i][j] > -9999 ) {
|
if ( in_data[i][j] > -9000 ) {
|
||||||
last_elev = in_data[i][j];
|
last_elev = in_data[i][j];
|
||||||
} else if ( last_elev > -9999 ) {
|
} else if ( last_elev > -9000 ) {
|
||||||
in_data[i][j] = last_elev;
|
in_data[i][j] = last_elev;
|
||||||
} else {
|
} else {
|
||||||
have_void = true;
|
have_void = true;
|
||||||
|
|
Loading…
Reference in a new issue