Skip to content

Commit

Permalink
Per #1451, need to store climo_cdf for both grid and point verification.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Feb 20, 2021
1 parent b065fce commit de6b90f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions met/src/tools/core/ensemble_stat/ensemble_stat.cc
Expand Up @@ -1732,6 +1732,7 @@ void process_grid_vx() {
// Initialize
pd_all.clear();
pd_all.set_ens_size(n_vx_vld[i]);
pd_all.set_climo_cdf(conf_info.vx_opt[i].cdf_info);
pd_all.skip_const = conf_info.vx_opt[i].vx_pd.pd[0][0][0].skip_const;

// Apply the current mask to the fields and compute the pairs
Expand Down
6 changes: 3 additions & 3 deletions met/src/tools/core/ensemble_stat/ensemble_stat_conf_info.cc
Expand Up @@ -600,9 +600,6 @@ void EnsembleStatConfInfo::set_vx_pd(const IntArray &ens_size) {
// Set up the ensemble size
vx_opt[i].vx_pd.set_ens_size(ens_size[i]);

// Store the ClimoCDFInfo
vx_opt[i].vx_pd.set_climo_cdf(vx_opt[i].cdf_info);

}

return;
Expand Down Expand Up @@ -880,6 +877,9 @@ void EnsembleStatVxOpt::set_vx_pd(EnsembleStatConfInfo *conf_info) {
// Define the dimensions
vx_pd.set_pd_size(n_msg_typ, n_mask, n_interp);

// Store climo CDF
vx_pd.set_climo_cdf(cdf_info);

// Store the list of surface message types
vx_pd.set_msg_typ_sfc(conf_info->msg_typ_sfc);

Expand Down

0 comments on commit de6b90f

Please sign in to comment.