Skip to content

Commit

Permalink
Replace 0 as observation error
Browse files Browse the repository at this point in the history
0 is not valid for an error as that causes problems for the update
algorithm.
  • Loading branch information
oyvindeide committed Aug 16, 2023
1 parent 0d10b77 commit bad194a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jobs/rft/test_gendata_rft.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def test_ert_setup_one_well_two_points_different_time_and_depth(tmpdir):
)

# Chosen filename syntax for obs file: <wellname>_<report_step>.obs
Path("observations/OP_1_1.obs").write_text("304 1\n-1 0\n", encoding="utf-8")
Path("observations/OP_1_1.obs").write_text("304 1\n-1 0.1\n", encoding="utf-8")
Path("observations/OP_1_2.obs").write_text("-1 0.1\n249 1\n", encoding="utf-8")
# measured pressure, abs error

Expand Down

0 comments on commit bad194a

Please sign in to comment.