Skip to content

Commit

Permalink
#2044 Changed debiug level for PBL
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Feb 11, 2022
1 parent 3b88ab1 commit 4020d35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions met/src/tools/other/pb2nc/pb2nc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3057,7 +3057,7 @@ float compute_pbl(map<float, float*> pqtzuv_map_tq,
pbl_data_hgt[index] = pqtzuv[3];
pbl_data_ugrd[index] = pqtzuv[4];
pbl_data_vgrd[index] = pqtzuv[5];
mlog << Debug(5) << method_name << "Force to add "
mlog << Debug(6) << method_name << "Force to add "
<< pres_level << " into " << index << "\n";
index--;
}
Expand All @@ -3077,11 +3077,11 @@ float compute_pbl(map<float, float*> pqtzuv_map_tq,

if (hgt_cnt < pbl_level) {
hgt_cnt += interpolate_by_pressure(pbl_level, pbl_data_pres, pbl_data_hgt);
mlog << Debug(4) << method_name << "interpolate Z (HGT)\n";
mlog << Debug(6) << method_name << "interpolate Z (HGT)\n";
}
if (spfh_cnt < pbl_level) {
spfh_cnt += interpolate_by_pressure(pbl_level, pbl_data_pres, pbl_data_spfh);
mlog << Debug(4) << method_name << "interpolate Q (SPFH)\n";
mlog << Debug(6) << method_name << "interpolate Q (SPFH)\n";
}

if ((spfh_cnt>0) && (pbl_level>0)) {
Expand Down

0 comments on commit 4020d35

Please sign in to comment.