Skip to content

Commit

Permalink
Per #2761, patching test_util.R to use the -C command line option for…
Browse files Browse the repository at this point in the history
… ncdiff. I did test running comp_dir.sh with this change and confirmed that it now runs to completion.
  • Loading branch information
MET Tools Test Account committed Dec 13, 2023
1 parent 40ae2fb commit 7c6df3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/test_unit/R_test/test_util.R
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ compareNc = function(nc1, nc2, verb, strict=0, delta=-1, comp_var=0){
}

# build and run the ncdiff command
strCmd = paste(strNcDiffExec, " -x -v time_bounds \\\n ", nc1, " \\\n ", nc2, " \\\n ", strNcDiff, sep="");
strCmd = paste(strNcDiffExec, " -C -x -v time_bounds \\\n ", nc1, " \\\n ", nc2, " \\\n ", strNcDiff, sep="");
if( 2 <= verb ){ cat("NCDIFF:", strCmd, "\n"); }
strCmdOut = system(paste(strCmd, "2>&1"), intern=T);

Expand Down

0 comments on commit 7c6df3c

Please sign in to comment.