Skip to content

Commit

Permalink
Per #1575, rename subset_pairs() to subset_pairs_cnt_thresh() to be a…
Browse files Browse the repository at this point in the history
… bit more explicit with the naming conventions.
  • Loading branch information
JohnHalleyGotway committed Mar 30, 2021
1 parent b7913b8 commit 9e3e7d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions met/src/tools/core/point_stat/point_stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1424,8 +1424,9 @@ void do_cnt_sl1l2(const PointStatVxOpt &vx_opt, const PairDataPoint *pd_ptr) {
for(i=0; i<vx_opt.fcnt_ta.n(); i++) {

// Apply continuous filtering thresholds to subset pairs
pd_thr = subset_pairs(*pd_ptr, vx_opt.fcnt_ta[i],
vx_opt.ocnt_ta[i], vx_opt.cnt_logic);
pd_thr = pd_ptr->subset_pairs_cnt_thresh(vx_opt.fcnt_ta[i],
vx_opt.ocnt_ta[i],
vx_opt.cnt_logic);

// Check for no matched pairs to process
if(pd_thr.n_obs == 0) continue;
Expand Down
4 changes: 2 additions & 2 deletions met/src/tools/core/point_stat/point_stat_conf_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -941,8 +941,8 @@ void PointStatVxOpt::set_vx_pd(PointStatConfInfo *conf_info) {
// Define the dimensions
vx_pd.set_pd_size(n_msg_typ, n_mask, n_interp);

// Store the MPR filters
vx_pd.set_mpr_filt(mpr_sa, mpr_ta);
// Store the MPR filter threshold
vx_pd.set_mpr_thresh(mpr_sa, mpr_ta);

// Store the climo CDF info
vx_pd.set_climo_cdf_info(cdf_info);
Expand Down

0 comments on commit 9e3e7d8

Please sign in to comment.