Skip to content

Commit

Permalink
#1936 Removed cound_bad
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Nov 12, 2021
1 parent fcb2a8c commit 142e483
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions met/src/tools/other/madis2nc/madis2nc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ static bool get_filtered_nc_data_2d(NcVar var, int *data, const long *dim,
for (int offset=0; offset<data_len; offset++) {
if(is_eq(data[offset], in_fill_value)) {
data[offset] = bad_data_int;
if(count_bad) rej_fill++;
rej_fill++;
}
}
}
Expand Down Expand Up @@ -529,7 +529,7 @@ static bool get_filtered_nc_data_2d(NcVar var, float *data, const long *dim,
for (int offset=0; offset<data_len; offset++) {
if(is_eq(data[offset], in_fill_value)) {
data[offset] = bad_data_float;
if(count_bad) rej_fill++;
rej_fill++;
}
}
}
Expand Down

0 comments on commit 142e483

Please sign in to comment.