Skip to content

Commit

Permalink
#2027 ci-run-unit Increased the precision to debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Feb 10, 2022
1 parent 6cd0b12 commit c1b2022
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions met/src/libcode/vx_statistics/met_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1570,10 +1570,11 @@ void VL1L2Info::calc_ncep_stats() {

DIR_ABSERR = fabs(DIR_ERR);

char buffer [512];
int buf_len = sprintf(buffer, "vf_bar=%25.18e, uo_bar=%25.18e, uf_bar=%25.18e, vo_bar=%25.18e",
vf_bar, uo_bar, uf_bar, vo_bar);
mlog << Debug(9) << method_name << "DIR_ERR=" << DIR_ERR
<< " from vf_bar=" << vf_bar << ", uo_bar=" << uo_bar
<< ", uf_bar=" << uf_bar << ", vo_bar=" << vo_bar
<< "\n";
<< " from " << buffer << "\n";

return;
}
Expand Down

0 comments on commit c1b2022

Please sign in to comment.