Skip to content

Commit 64965eb

Browse files
committed
Remove unused keyword INPUT_FORMAT:ASCII used with GEN_DATA observations
1 parent 72f1a5f commit 64965eb

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/semeio/forward_models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def documentation() -> ForwardModelStepDocumentation | None:
149149
150150
For assisted history matching, add ``GEN_DATA`` statements to the ert config::
151151
152-
GEN_DATA A-1 RESULT_FILE:gendata_rft/RFT_A-1_%d INPUT_FORMAT:ASCII REPORT_STEPS:0
152+
GEN_DATA A-1 RESULT_FILE:gendata_rft/RFT_A-1_%d REPORT_STEPS:0
153153
154154
""",
155155
description=gendata_rft_description,

src/semeio/forward_models/rft/gendata_rft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def run(
182182
well=well, time=time, report_step=report_step
183183
)
184184

185-
# Write trajectory and associated data to ASCII files, one file pr.
185+
# Write trajectory and associated data to files, one file pr.
186186
# datatype, well and time, this is for GEN_DATA to pick up.
187187
_write_gen_data_files(trajectory_df, outputdirectory, well, report_step)
188188

tests/forward_models/rft/test_gendata_rft.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def test_ert_setup_one_well_one_rft_point(tmpdir):
521521
522522
FORWARD_MODEL GENDATA_RFT(<PATH_TO_TRAJECTORY_FILES>=../../rft_input, <WELL_AND_TIME_FILE>=../../rft_input/well_time.txt)
523523
GEN_KW PARAMS parameter_template parameters.json parameter_prior
524-
GEN_DATA OP_1_RFT_SIM1 INPUT_FORMAT:ASCII REPORT_STEPS:1 RESULT_FILE:RFT_OP_1_%d
524+
GEN_DATA OP_1_RFT_SIM1 REPORT_STEPS:1 RESULT_FILE:RFT_OP_1_%d
525525
""",
526526
encoding="utf-8",
527527
)
@@ -650,8 +650,8 @@ def test_ert_setup_one_well_two_points_different_time_and_depth(tmpdir):
650650
FORWARD_MODEL MAKE_DIRECTORY(<DIRECTORY>=gendata_rft)
651651
FORWARD_MODEL GENDATA_RFT(<PATH_TO_TRAJECTORY_FILES>=../../rft_input, <WELL_AND_TIME_FILE>=../../rft_input/well_time.txt, <OUTPUTDIRECTORY>=gendata_rft)
652652
653-
GEN_DATA OP_1_RFT_SIM1 INPUT_FORMAT:ASCII REPORT_STEPS:1 RESULT_FILE:gendata_rft/RFT_OP_1_%d
654-
GEN_DATA OP_1_RFT_SIM2 INPUT_FORMAT:ASCII REPORT_STEPS:2 RESULT_FILE:gendata_rft/RFT_OP_1_%d
653+
GEN_DATA OP_1_RFT_SIM1 REPORT_STEPS:1 RESULT_FILE:gendata_rft/RFT_OP_1_%d
654+
GEN_DATA OP_1_RFT_SIM2 REPORT_STEPS:2 RESULT_FILE:gendata_rft/RFT_OP_1_%d
655655
GEN_KW PARAMS parameter_template parameters.json parameter_prior
656656
"""
657657
),

tests/legacy_test_data/poly_normal/poly.ert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ NUM_REALIZATIONS 20
1212
MIN_REALIZATIONS 1
1313

1414
GEN_KW COEFFS coeff.tmpl coeffs.json coeff_priors
15-
GEN_DATA POLY_RES RESULT_FILE:poly_%d.out REPORT_STEPS:0 INPUT_FORMAT:ASCII
15+
GEN_DATA POLY_RES RESULT_FILE:poly_%d.out REPORT_STEPS:0
1616

1717
INSTALL_JOB poly_eval POLY_EVAL
1818
SIMULATION_JOB poly_eval

tests/legacy_test_data/snake_oil/snake_oil.ert

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ GEN_KW SNAKE_OIL_PARAM templates/snake_oil_template.txt snake_oil_params.txt par
3131
FIELD PERMX PARAMETER snake_oil_permx.grdecl INIT_FILES:fields/permx%d.grdecl
3232
FIELD PORO PARAMETER snake_oil_poro.grdecl INIT_FILES:fields/poro%d.grdecl
3333

34-
GEN_DATA SNAKE_OIL_OPR_DIFF INPUT_FORMAT:ASCII RESULT_FILE:snake_oil_opr_diff_%d.txt REPORT_STEPS:199
35-
GEN_DATA SNAKE_OIL_WPR_DIFF INPUT_FORMAT:ASCII RESULT_FILE:snake_oil_wpr_diff_%d.txt REPORT_STEPS:199
36-
GEN_DATA SNAKE_OIL_GPR_DIFF INPUT_FORMAT:ASCII RESULT_FILE:snake_oil_gpr_diff_%d.txt REPORT_STEPS:199
34+
GEN_DATA SNAKE_OIL_OPR_DIFF RESULT_FILE:snake_oil_opr_diff_%d.txt REPORT_STEPS:199
35+
GEN_DATA SNAKE_OIL_WPR_DIFF RESULT_FILE:snake_oil_wpr_diff_%d.txt REPORT_STEPS:199
36+
GEN_DATA SNAKE_OIL_GPR_DIFF RESULT_FILE:snake_oil_gpr_diff_%d.txt REPORT_STEPS:199
3737

3838
UPDATE_LOG_PATH log/update

0 commit comments

Comments
 (0)