Skip to content

Commit

Permalink
Per #1908, fix typo and don't error out if the ens dictionary isn't p…
Browse files Browse the repository at this point in the history
…resent. It shouldn't be there anymore!
  • Loading branch information
JohnHalleyGotway committed Sep 19, 2022
1 parent e9a32f2 commit ffe923b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tools/core/ensemble_stat/ensemble_stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2481,7 +2481,7 @@ void write_orank_nc(PairDataEnsemble &pd, DataPlane &dp,
} // end for i

// Add the observation values and ranks
if(conf_info.nc_info.do_rank) {
if(conf_info.nc_info.do_orank) {
write_orank_var_float(i_vx, i_interp, i_mask, obs_v, dp,
"OBS",
"Observation Value");
Expand Down
2 changes: 1 addition & 1 deletion src/tools/core/ensemble_stat/ensemble_stat_conf_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ void EnsembleStatConfInfo::process_config(GrdFileType etype,
if(ens_member_ids.n() == 0) ens_member_ids.add("");

// Conf: ens, print warning if present
if(conf.lookup_dictionary(conf_key_ens)) {
if(conf.lookup_dictionary(conf_key_ens, false, false)) {
mlog << Warning << "\nEnsembleStatConfInfo::process_config() -> "
<< "support for ensemble product generation with the \"ens\" "
<< "dictionary has moved to the Gen-Ens-Prod tool." << "\n\n";
Expand Down

0 comments on commit ffe923b

Please sign in to comment.