diff --git a/tests/genertobs_unstable/data/afield/RFT_dump_221220_ZoneAdjusted.ods b/tests/genertobs_unstable/data/afield/RFT_dump_221220_ZoneAdjusted.ods new file mode 100644 index 000000000..ea936f80e Binary files /dev/null and b/tests/genertobs_unstable/data/afield/RFT_dump_221220_ZoneAdjusted.ods differ diff --git a/tests/genertobs_unstable/data/snorre/RFT_dump_221220_ZoneAdjusted.txt b/tests/genertobs_unstable/data/afield/RFT_dump_221220_ZoneAdjusted.txt similarity index 100% rename from tests/genertobs_unstable/data/snorre/RFT_dump_221220_ZoneAdjusted.txt rename to tests/genertobs_unstable/data/afield/RFT_dump_221220_ZoneAdjusted.txt diff --git a/tests/genertobs_unstable/data/snorre/snorre_observations.yml b/tests/genertobs_unstable/data/afield/afield_observations.yml similarity index 86% rename from tests/genertobs_unstable/data/snorre/snorre_observations.yml rename to tests/genertobs_unstable/data/afield/afield_observations.yml index dc26b86d6..5ea8b4be3 100644 --- a/tests/genertobs_unstable/data/snorre/snorre_observations.yml +++ b/tests/genertobs_unstable/data/afield/afield_observations.yml @@ -1,7 +1,7 @@ - name: summary observations type: summary default_error: 10% - observation: snorre_smry_observations.csv + observation: afield_smry_observations.csv - name: rft observations type: rft diff --git a/tests/genertobs_unstable/data/afield/afield_smry_observations.csv b/tests/genertobs_unstable/data/afield/afield_smry_observations.csv new file mode 100644 index 000000000..6164c67e8 --- /dev/null +++ b/tests/genertobs_unstable/data/afield/afield_smry_observations.csv @@ -0,0 +1,36 @@ +VALUE,DATE,KEY +264.0,2005-04-01,WBHP:Q-3P +290.0,2007-05-30,WBHP:Q-3P +289.0,2011-07-04,WBHP:Q-3P +280.0,2013-03-01,WBHP:Q-3P +255.0,2015-05-04,WBHP:Q-3P +264.0,2017-09-09,WBHP:Q-3P +257.0,2018-09-27,WBHP:Q-3P +9601645.0,2000-05-01,WGPT:Q-39P +35505872.0,2000-09-01,WGPT:Q-39P +48383616.0,2001-01-01,WGPT:Q-39P +65746592.0,2001-05-01,WGPT:Q-39P +79736152.0,2001-09-01,WGPT:Q-39P +92134936.0,2002-01-01,WGPT:Q-39P +100446024.0,2002-05-01,WGPT:Q-39P +102495088.0,2002-09-01,WGPT:Q-39P +110328808.0,2003-01-01,WGPT:Q-39P +113082552.0,2003-05-01,WGPT:Q-39P +117732840.0,2003-09-01,WGPT:Q-39P +119566240.0,2004-01-01,WGPT:Q-39P +124238296.0,2004-05-01,WGPT:Q-39P +129655112.0,2004-09-01,WGPT:Q-39P +132931928.0,2005-01-01,WGPT:Q-39P +133800216.0,2006-05-01,WGPT:Q-39P +136486176.0,2006-09-01,WGPT:Q-39P +137112672.0,2007-01-01,WGPT:Q-39P +137605200.0,2007-05-01,WGPT:Q-39P +138011184.0,2007-09-01,WGPT:Q-39P +138485376.0,2012-09-01,WGPT:Q-39P +138827776.0,2013-01-01,WGPT:Q-39P +11493.68,2021-01-01,WOPT:Y-2HP +30648.73,2021-05-01,WOPT:Y-2HP +54489.39,2021-09-01,WOPT:Y-2HP +64057.64,2022-01-01,WOPT:Y-2HP +82170.36,2022-05-01,WOPT:Y-2HP +99219.46,2022-09-01,WOPT:Y-2HP diff --git a/tests/genertobs_unstable/data/snorre/masterdata_config.yml b/tests/genertobs_unstable/data/afield/masterdata_config.yml similarity index 80% rename from tests/genertobs_unstable/data/snorre/masterdata_config.yml rename to tests/genertobs_unstable/data/afield/masterdata_config.yml index 2073491b4..2f8de5704 100644 --- a/tests/genertobs_unstable/data/snorre/masterdata_config.yml +++ b/tests/genertobs_unstable/data/afield/masterdata_config.yml @@ -4,20 +4,20 @@ masterdata: - identifier: Norway uuid: ad214d85-8a1d-19da-e053-c918a4889309 discovery: - - short_identifier: SNORRE + - short_identifier: AFIELD uuid: ad214d89-af9b-19da-e053-c918a4889309 field: - - identifier: SNORRE + - identifier: AFIELD uuid: ad214d87-901d-19da-e053-c918a4889309 coordinate_system: identifier: ST_ED50_UTM31N_P23031_T1311 uuid: ad214d85-da74-19da-e053-c918a4889309 stratigraphic_column: - identifier: Snorre Seq Strat 2004 + identifier: Afield 2004 uuid: ad215071-c52b-2e4b-e053-c918a4881b5c access: asset: - name: Snorre + name: Afield model: name: ff revision: 2024 diff --git a/tests/genertobs_unstable/data/snorre/well_alias_rms_ecl_snorre.txt b/tests/genertobs_unstable/data/afield/well_alias_rms_ecl_afield.txt similarity index 100% rename from tests/genertobs_unstable/data/snorre/well_alias_rms_ecl_snorre.txt rename to tests/genertobs_unstable/data/afield/well_alias_rms_ecl_afield.txt diff --git a/tests/genertobs_unstable/data/afield/well_aliases.txt b/tests/genertobs_unstable/data/afield/well_aliases.txt new file mode 100644 index 000000000..84f91ea30 --- /dev/null +++ b/tests/genertobs_unstable/data/afield/well_aliases.txt @@ -0,0 +1,23 @@ +RMS_NAME ECLIPSE_NAME +42_4-8_A R_8A +42_4-7_S R_7S +42_4-B-1_H R_B1H +42_4-B-1_HT2 R_B1HT2 +42_4-B-2_AH R_B2AH +42_7-S-7 R_S7 +42_7-T-1_H R_T1H +42_7-T-2_H R_T2H +42_7-T-3_H R_T3H +42_7-T-4_H R_T4H +42_7-W-1_H R_W1H +42_7-W-1_HT2 R_W1HT2 +42_7-W-2_H R_W2H +42_7-W-3_H R_W3H +42_7-W-4_H R_W4H +42_7-A-1_H R_A1H +42_7-A-2_H R_A2H +42_7-A-3_H R_A3H +42_7-A-3_HT2 R_A3HT2 +42_7-A-3_HT3 R_A3HT3 +42_7-A-4_H R_A4H +42_7-A-4_HT2 R_A4HT2 diff --git a/tests/genertobs_unstable/data/snorre/RFT_dump_221220_ZoneAdjusted.ods b/tests/genertobs_unstable/data/snorre/RFT_dump_221220_ZoneAdjusted.ods deleted file mode 100644 index f04f382bb..000000000 Binary files a/tests/genertobs_unstable/data/snorre/RFT_dump_221220_ZoneAdjusted.ods and /dev/null differ diff --git a/tests/genertobs_unstable/data/snorre/snorre_smry_observations.csv b/tests/genertobs_unstable/data/snorre/snorre_smry_observations.csv deleted file mode 100644 index cc6a41bdc..000000000 --- a/tests/genertobs_unstable/data/snorre/snorre_smry_observations.csv +++ /dev/null @@ -1,36 +0,0 @@ -VALUE,DATE,KEY -264.0,2005-04-01,WBHP:P-1P -290.0,2007-11-10,WBHP:P-1P -289.0,2011-07-04,WBHP:P-1P -280.0,2013-03-01,WBHP:P-1P -255.0,2015-05-04,WBHP:P-1P -264.0,2017-09-09,WBHP:P-1P -257.0,2018-09-27,WBHP:P-1P -9601645.0,2000-05-01,WGPT:P-19P -35505872.0,2000-09-01,WGPT:P-19P -48383616.0,2001-01-01,WGPT:P-19P -65746592.0,2001-05-01,WGPT:P-19P -79736152.0,2001-09-01,WGPT:P-19P -92134936.0,2002-01-01,WGPT:P-19P -100446024.0,2002-05-01,WGPT:P-19P -102495088.0,2002-09-01,WGPT:P-19P -110328808.0,2003-01-01,WGPT:P-19P -113082552.0,2003-05-01,WGPT:P-19P -117732840.0,2003-09-01,WGPT:P-19P -119566240.0,2004-01-01,WGPT:P-19P -124238296.0,2004-05-01,WGPT:P-19P -129655112.0,2004-09-01,WGPT:P-19P -132931928.0,2005-01-01,WGPT:P-19P -133800216.0,2006-05-01,WGPT:P-19P -136486176.0,2006-09-01,WGPT:P-19P -137112672.0,2007-01-01,WGPT:P-19P -137605200.0,2007-05-01,WGPT:P-19P -138011184.0,2007-09-01,WGPT:P-19P -138485376.0,2012-09-01,WGPT:P-19P -138827776.0,2013-01-01,WGPT:P-19P -11493.68,2021-01-01,WOPT:X-4HP -30648.73,2021-05-01,WOPT:X-4HP -54489.39,2021-09-01,WOPT:X-4HP -64057.64,2022-01-01,WOPT:X-4HP -82170.36,2022-05-01,WOPT:X-4HP -99219.46,2022-09-01,WOPT:X-4HP diff --git a/tests/genertobs_unstable/data/snorre/well_alias.txt b/tests/genertobs_unstable/data/snorre/well_alias.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/genertobs_unstable/data/snorre/well_aliases.ods b/tests/genertobs_unstable/data/snorre/well_aliases.ods deleted file mode 100644 index 9cf55bff8..000000000 Binary files a/tests/genertobs_unstable/data/snorre/well_aliases.ods and /dev/null differ diff --git a/tests/genertobs_unstable/data/snorre/well_aliases.txt b/tests/genertobs_unstable/data/snorre/well_aliases.txt deleted file mode 100644 index ec9def8c1..000000000 --- a/tests/genertobs_unstable/data/snorre/well_aliases.txt +++ /dev/null @@ -1,23 +0,0 @@ -RMS_NAME ECLIPSE_NAME -34_4-12_A R_12A -34_4-9_S R_4-9S -34_4-C-1_H R_C1H -34_4-C-1_HT2 R_C1HT2 -34_4-C-2_AH R_C2AH -34_7-P-9 RP9 -34_7-V-1_H R_V1H -34_7-V-2_H R_V2H -34_7-V-3_H R_V4H -34_7-V-4_H R_V3H -34_7-X-1_H R_X1H -34_7-X-1_HT2 RX1HT2 -34_7-X-2_H R_X2H -34_7-X-3_H R_X3H -34_7-X-4_H R_X4H -34_7-Z-1_H R_Z1H -34_7-Z-2_H R_Z2H -34_7-Z-3_H R_Z3H -34_7-Z-3_HT2 R_Z3HT2 -34_7-Z-3_HT3 R_Z3HT3 -34_7-Z-4_H R_Z4H -34_7-Z-4_HT2 R_Z4HT2 diff --git a/tests/genertobs_unstable/test_snorre.py b/tests/genertobs_unstable/test_rename.py similarity index 78% rename from tests/genertobs_unstable/test_snorre.py rename to tests/genertobs_unstable/test_rename.py index 558fbc115..ced36408f 100644 --- a/tests/genertobs_unstable/test_snorre.py +++ b/tests/genertobs_unstable/test_rename.py @@ -9,7 +9,7 @@ read_yaml_config, ) -SNORRE_FOLDER = Path(__file__).parent / "data/snorre" +AFIELD = Path(__file__).parent / "data/afield" def run_command(arguments): @@ -27,29 +27,29 @@ def run_command(arguments): def test_generate_data(tmp_path, monkeypatch): - sn_tmp = tmp_path / "snorre" - copytree(SNORRE_FOLDER, sn_tmp) - obs_name = "snorre_observations" - monkeypatch.chdir(sn_tmp) + af_tmp = tmp_path / "afield" + copytree(AFIELD, af_tmp) + obs_name = "afield_observations" + monkeypatch.chdir(af_tmp) - genert_config = sn_tmp / "snorre_observations.yml" + genert_config = af_tmp / "afield_observations.yml" config = read_yaml_config(genert_config) print("\n", config) - data = generate_data_from_config(config, sn_tmp) + data = generate_data_from_config(config, af_tmp) print(data) def test_command_line(tmp_path, monkeypatch): - sn_tmp = tmp_path / "snorre" - copytree(SNORRE_FOLDER, sn_tmp) - obs_name = "snorre_observations" - monkeypatch.chdir(sn_tmp) - genert_config = sn_tmp / "snorre_observations.yml" + af_tmp = tmp_path / "afield" + copytree(AFIELD, af_tmp) + obs_name = "afield_observations" + monkeypatch.chdir(af_tmp) + genert_config = af_tmp / "afield_observations.yml" arguments = ["genertobs_unstable", genert_config] run_command(arguments) - obs_out = sn_tmp / obs_name + obs_out = af_tmp / obs_name assert obs_out.exists(), f"{obs_out} does not exist" ert_obs_file = obs_out / "ert_observations.obs" obs_str = ert_obs_file.read_text()