Skip to content

Commit

Permalink
bug fixed in the plausibility check
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Lussana committed Mar 31, 2018
1 parent d903078 commit a129393
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions titan.R
Original file line number Diff line number Diff line change
Expand Up @@ -1288,8 +1288,7 @@ if (argv$verbose | argv$debug) {
# plausibility test
# NOTE: keep-listed stations could be flagged here
ix<-which( (is.na(dqcflag) | dqcflag==keep.code) &
data$value<argv$tmin &
data$value>argv$tmax)
(data$value<argv$tmin | data$value>argv$tmax))
if (length(ix)>0) dqcflag[ix]<-p.code
if (argv$verbose | argv$debug) {
print("plausibility test")
Expand Down

0 comments on commit a129393

Please sign in to comment.