Skip to content

Commit

Permalink
revised drop conflicts user feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jtwhite79 committed May 31, 2024
1 parent a003f29 commit 014a6ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions benchmarks/basic_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,7 @@ def sweep_bin_test():
#prep_ends()
#sweep_bin_test()
#mf6_v5_sen_test()
ext_stdcol_test()
#ext_stdcol_test()
#shutil.copy2(os.path.join("..","exe","windows","x64","Debug","pestpp-glm.exe"),os.path.join("..","bin","win","pestpp-glm.exe"))
#shutil.copy2(os.path.join("..", "exe", "windows", "x64", "Debug", "pestpp-ies.exe"),
# os.path.join("..", "bin", "win", "pestpp-ies.exe"))
Expand Down Expand Up @@ -1529,7 +1529,7 @@ def sweep_bin_test():
#shutil.copy2(os.path.join("..","exe","windows","x64","Debug","pestpp-ies.exe"),os.path.join("..","bin","win","pestpp-ies.exe"))
#tplins1_test()

#fr_timeout_test()
fr_timeout_test()
#mf6_v5_ies_test()
#mf6_v5_sen_test()

Expand Down
9 changes: 6 additions & 3 deletions src/libs/pestpp_common/EnsembleMethodUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5225,13 +5225,16 @@ void EnsembleMethod::initialize(int cycle, bool run, bool use_existing)
ss.str("");
ss << " WARNING: Prior-data conflict detected. Continuing with IES parameter" << endl;
ss << " adjustment will likely result in parameter and forecast bias." << endl;
ss << " Consider using 'ies_drop_conflicts' as a quick fix.";
//ss << " Consider using 'ies_drop_conflicts' as a quick fix.";
message(1, ss.str());
}
else
{

//check that all obs are in conflict
ss.str("");
ss << " WARNING: 'ies_drop_conflicts' is not an ideal approach. A better" << endl;
ss << " approach would be to dig in and figure out why these observations " << endl;
ss << " are in conflict." << endl;
//check that all obs are in conflict
message(1, "dropping conflicted observations");

if (in_conflict.size() == act_obs_names.size()) {
Expand Down

0 comments on commit 014a6ee

Please sign in to comment.