From 59d6b761e6b0af2a88537b715f2f675e704686a1 Mon Sep 17 00:00:00 2001 From: "Oddvar Lia (ST MSU GEO)" Date: Fri, 24 Nov 2023 09:46:10 +0100 Subject: [PATCH] Updated reference files and fixed a bug in get_seed --- .../FieldParam_real0_iter0_A_local.grdecl | 35 ---------- .../FieldParam_real0_iter0_A_ordinary.grdecl | 35 ---------- .../FieldParam_real0_iter3_A_local.grdecl | 35 ---------- .../FieldParam_real0_iter3_A_ordinary.grdecl | 35 ---------- .../FieldParam_real5_iter0_A_local.grdecl | 68 +++++++++---------- .../FieldParam_real5_iter0_A_ordinary.grdecl | 68 +++++++++---------- .../FieldParam_real5_iter1_A_local.grdecl | 68 +++++++++---------- .../FieldParam_real5_iter1_A_ordinary.grdecl | 68 +++++++++---------- .../example_case/scripts/common_functions.py | 3 +- 9 files changed, 138 insertions(+), 277 deletions(-) delete mode 100644 tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter0_A_local.grdecl delete mode 100644 tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter0_A_ordinary.grdecl delete mode 100644 tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter3_A_local.grdecl delete mode 100644 tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter3_A_ordinary.grdecl diff --git a/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter0_A_local.grdecl b/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter0_A_local.grdecl deleted file mode 100644 index 602799bce..000000000 --- a/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter0_A_local.grdecl +++ /dev/null @@ -1,35 +0,0 @@ -FIELDPAR - -0.5397 -0.3858 -0.3928 -0.4374 -0.1778 0.2372 - 0.3157 0.0227 -0.1707 -0.0996 -0.0316 0.1057 - -0.2359 -0.7693 -0.7939 -0.2772 0.1613 0.2680 - 0.3351 0.3925 0.4160 0.2824 -0.0035 -0.2003 - -0.0268 0.4265 0.7498 0.7177 0.4694 0.1846 - -0.4902 -0.7099 -0.6929 -0.6456 -0.3992 0.1762 - 0.7306 0.8528 0.5418 -0.0008 -0.4525 -0.6491 - -0.0683 0.5664 0.7487 0.6160 0.4703 0.3289 - 0.0482 -0.3348 0.4273 0.2522 0.8785 1.5007 - 1.5114 1.1563 0.8697 0.6875 0.4914 0.2637 - 0.5690 1.0276 1.7906 2.2993 2.2034 1.5721 - 0.7186 0.1048 0.0842 0.4180 1.4282 1.2842 - 1.4868 1.9608 2.1627 1.8544 1.2909 0.8076 - 0.5903 0.6561 0.9142 0.6271 0.4407 0.3296 - 0.1977 0.0806 -0.0472 -0.2082 -0.1345 0.4254 - -0.0118 -0.0442 -0.1898 -0.4767 -0.7551 -0.9077 - -0.9709 -0.9687 -0.7402 -0.1268 -0.2922 -0.1615 - 0.3615 0.7314 0.5470 0.0464 -0.3039 -0.4292 - -0.4574 -0.2476 -0.8247 -0.3671 0.4000 0.8069 - 0.6773 0.3288 0.0490 -0.1261 -0.1722 0.0362 - -1.2660 -0.6030 0.1035 0.4700 0.6211 0.9018 - 1.2946 1.3565 0.8673 0.2738 -0.1142 0.1887 - 0.3170 0.3703 0.7129 1.4907 2.2378 2.3075 - 1.6666 0.9216 1.1504 1.7013 1.6357 1.3546 - 1.3723 1.6638 1.7875 1.5232 1.0957 0.8293 - 1.8226 2.1721 2.0123 1.5021 0.9762 0.8412 - 1.1506 1.4933 1.5477 1.4886 1.0522 1.5919 - 1.8294 1.6727 1.2831 0.9682 0.8422 0.8249 - 0.8635 0.9181 0.2297 0.5098 1.1151 1.6877 - 1.6529 1.0046 0.4167 0.4261 0.7859 0.8623 - 0.4540 0.2435 0.8467 1.4338 1.0239 -0.0224 - -0.5534 -0.2338 0.2190 0.1811 1.4220 1.4522 - 1.6455 1.4420 0.4715 -0.7102 -1.1446 -0.6177 - 0.0951 0.1560 / diff --git a/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter0_A_ordinary.grdecl b/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter0_A_ordinary.grdecl deleted file mode 100644 index 602799bce..000000000 --- a/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter0_A_ordinary.grdecl +++ /dev/null @@ -1,35 +0,0 @@ -FIELDPAR - -0.5397 -0.3858 -0.3928 -0.4374 -0.1778 0.2372 - 0.3157 0.0227 -0.1707 -0.0996 -0.0316 0.1057 - -0.2359 -0.7693 -0.7939 -0.2772 0.1613 0.2680 - 0.3351 0.3925 0.4160 0.2824 -0.0035 -0.2003 - -0.0268 0.4265 0.7498 0.7177 0.4694 0.1846 - -0.4902 -0.7099 -0.6929 -0.6456 -0.3992 0.1762 - 0.7306 0.8528 0.5418 -0.0008 -0.4525 -0.6491 - -0.0683 0.5664 0.7487 0.6160 0.4703 0.3289 - 0.0482 -0.3348 0.4273 0.2522 0.8785 1.5007 - 1.5114 1.1563 0.8697 0.6875 0.4914 0.2637 - 0.5690 1.0276 1.7906 2.2993 2.2034 1.5721 - 0.7186 0.1048 0.0842 0.4180 1.4282 1.2842 - 1.4868 1.9608 2.1627 1.8544 1.2909 0.8076 - 0.5903 0.6561 0.9142 0.6271 0.4407 0.3296 - 0.1977 0.0806 -0.0472 -0.2082 -0.1345 0.4254 - -0.0118 -0.0442 -0.1898 -0.4767 -0.7551 -0.9077 - -0.9709 -0.9687 -0.7402 -0.1268 -0.2922 -0.1615 - 0.3615 0.7314 0.5470 0.0464 -0.3039 -0.4292 - -0.4574 -0.2476 -0.8247 -0.3671 0.4000 0.8069 - 0.6773 0.3288 0.0490 -0.1261 -0.1722 0.0362 - -1.2660 -0.6030 0.1035 0.4700 0.6211 0.9018 - 1.2946 1.3565 0.8673 0.2738 -0.1142 0.1887 - 0.3170 0.3703 0.7129 1.4907 2.2378 2.3075 - 1.6666 0.9216 1.1504 1.7013 1.6357 1.3546 - 1.3723 1.6638 1.7875 1.5232 1.0957 0.8293 - 1.8226 2.1721 2.0123 1.5021 0.9762 0.8412 - 1.1506 1.4933 1.5477 1.4886 1.0522 1.5919 - 1.8294 1.6727 1.2831 0.9682 0.8422 0.8249 - 0.8635 0.9181 0.2297 0.5098 1.1151 1.6877 - 1.6529 1.0046 0.4167 0.4261 0.7859 0.8623 - 0.4540 0.2435 0.8467 1.4338 1.0239 -0.0224 - -0.5534 -0.2338 0.2190 0.1811 1.4220 1.4522 - 1.6455 1.4420 0.4715 -0.7102 -1.1446 -0.6177 - 0.0951 0.1560 / diff --git a/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter3_A_local.grdecl b/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter3_A_local.grdecl deleted file mode 100644 index 10690dff8..000000000 --- a/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter3_A_local.grdecl +++ /dev/null @@ -1,35 +0,0 @@ -FIELDPAR - -0.5401 -0.3868 -0.3947 -0.4399 -0.1797 0.2366 - 0.3157 0.0228 -0.1707 -0.0996 -0.0331 0.0989 - -0.2483 -0.7789 -0.7992 -0.2802 0.1603 0.2679 - 0.3352 0.3925 0.4091 0.2558 -0.0464 -0.2270 - -0.0345 0.4225 0.7472 0.7169 0.4692 0.1846 - -0.4949 -0.7182 -0.7022 -0.6480 -0.3980 0.1762 - 0.7304 0.8528 0.5418 -0.0008 -0.4536 -0.6502 - -0.0690 0.5661 0.7485 0.6159 0.4703 0.3290 - 0.0482 -0.3348 0.4274 0.2523 0.8787 1.5009 - 1.5114 1.1562 0.8697 0.6875 0.4914 0.2637 - 0.5690 1.0276 1.7906 2.2993 2.2034 1.5721 - 0.7186 0.1048 0.0842 0.4180 1.4282 1.2842 - 1.4868 1.9608 2.1627 1.8544 1.2909 0.8076 - 0.5903 0.6561 0.9142 0.6271 0.4407 0.3296 - 0.1977 0.0806 -0.0472 -0.2082 -0.1345 0.4254 - -0.0118 -0.0442 -0.1898 -0.4768 -0.7551 -0.9071 - -0.9696 -0.9676 -0.7409 -0.1287 -0.2922 -0.1617 - 0.3594 0.7259 0.5388 0.0365 -0.3131 -0.4322 - -0.4567 -0.2513 -0.8247 -0.3686 0.3911 0.7797 - 0.6208 0.2253 -0.0994 -0.2437 -0.1926 0.0724 - -1.2660 -0.6039 0.0971 0.4506 0.5742 0.7597 - 0.9502 0.8917 0.5867 0.2476 -0.1142 0.1889 - 0.3172 0.3695 0.6977 1.4021 1.9951 1.9522 - 1.3827 0.8072 1.1504 1.7013 1.6367 1.3564 - 1.3678 1.6403 1.7431 1.4710 1.0476 0.7941 - 1.8226 2.1721 2.0123 1.5022 0.9766 0.8415 - 1.1499 1.4913 1.5452 1.4858 1.0522 1.5919 - 1.8294 1.6727 1.2831 0.9682 0.8422 0.8249 - 0.8635 0.9181 0.2297 0.5098 1.1151 1.6877 - 1.6529 1.0046 0.4167 0.4261 0.7859 0.8623 - 0.4540 0.2435 0.8467 1.4338 1.0239 -0.0224 - -0.5534 -0.2338 0.2190 0.1811 1.4220 1.4522 - 1.6455 1.4420 0.4715 -0.7102 -1.1446 -0.6177 - 0.0951 0.1560 / diff --git a/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter3_A_ordinary.grdecl b/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter3_A_ordinary.grdecl deleted file mode 100644 index 76cbe8b71..000000000 --- a/tests/jobs/localisation/example_case/init_files/FieldParam_real0_iter3_A_ordinary.grdecl +++ /dev/null @@ -1,35 +0,0 @@ -FIELDPAR - 0.1097 0.0965 -0.2653 -0.7287 -0.7534 -0.3422 - -0.0435 -0.0992 -0.1915 -0.1441 0.1153 0.0424 - -0.5177 -1.2199 -1.3812 -0.9591 -0.5196 -0.3066 - -0.1003 0.0319 0.2301 -0.0051 -0.1909 -0.2686 - -0.2371 -0.1289 0.0132 0.1454 0.2025 0.0974 - -0.6636 -0.7780 -0.5283 -0.2575 -0.0121 0.3524 - 0.7197 0.8091 0.5299 -0.0216 -0.6945 -0.6787 - 0.1036 0.9514 1.2774 1.1062 0.7639 0.4170 - 0.0214 -0.4384 0.5589 0.4741 1.1609 1.8553 - 1.9221 1.4963 1.0110 0.6648 0.4429 0.2291 - 0.7404 1.1830 1.8759 2.2737 2.0836 1.3981 - 0.5133 -0.0884 -0.0120 0.4551 1.3681 1.2062 - 1.4007 1.7456 1.7474 1.2886 0.6401 0.0879 - -0.1462 0.0430 1.0666 0.8556 0.8261 0.7601 - 0.4638 0.0176 -0.4785 -0.9198 -0.9591 -0.3416 - -0.2262 -0.1314 0.0874 0.1276 -0.0844 -0.3741 - -0.5711 -0.6264 -0.5075 -0.1842 -0.6426 -0.4926 - 0.2232 0.8240 0.8096 0.4446 0.2390 0.1656 - -0.0776 -0.3230 -0.7967 -0.3390 0.4174 0.7933 - 0.6651 0.4023 0.2340 0.0507 -0.1940 -0.2453 - -1.2520 -0.5471 0.1427 0.4131 0.3860 0.4131 - 0.5505 0.5105 0.1801 -0.0627 -0.4535 -0.2261 - -0.0210 0.2231 0.6151 1.1159 1.4704 1.4343 - 1.0648 0.6687 0.1732 0.6120 0.9011 1.1577 - 1.5245 1.8398 1.8074 1.4308 0.9878 0.6638 - 0.4840 0.6806 0.8159 0.8396 0.8247 0.9571 - 1.2266 1.3498 1.1683 0.9197 0.3034 0.6460 - 0.9508 1.0522 0.9693 0.8324 0.7008 0.5782 - 0.4908 0.4490 0.4465 0.5560 1.0426 1.7217 - 2.0056 1.6088 0.9695 0.7198 0.8964 0.9886 - 0.7378 0.3694 0.7098 1.3603 1.4287 0.8161 - 0.2294 0.1058 0.1874 0.1301 1.1394 0.9784 - 0.9155 0.7129 0.1763 -0.4393 -0.6964 -0.5443 - -0.3720 -0.4868 / diff --git a/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter0_A_local.grdecl b/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter0_A_local.grdecl index e28e6e8b4..50457083b 100644 --- a/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter0_A_local.grdecl +++ b/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter0_A_local.grdecl @@ -1,35 +1,35 @@ FIELDPAR - 0.447098 -0.927440 -1.783724 -1.779856 -1.377484 -0.837286 - 0.147021 1.467986 2.252399 1.935624 0.675510 -1.029712 - -1.740869 -1.493789 -1.025163 -0.561259 0.190373 1.198527 - 1.933705 1.891515 -0.237759 -1.565184 -2.145870 -1.851009 - -1.065883 -0.309973 0.144969 0.454058 0.777521 0.792289 - -1.140442 -1.817651 -2.422033 -2.245800 -1.117669 0.198838 - 0.997043 1.348484 1.432888 1.049439 0.051081 -0.270271 - -0.882617 -1.002432 -0.517790 0.006057 0.349438 0.661678 - 0.761552 0.443853 1.324635 1.198460 1.034424 0.958445 - 0.609836 -0.074205 -0.533611 -0.450062 -0.173472 -0.016950 - 0.946168 0.829610 0.848574 0.902655 0.762767 0.539844 - 0.502182 0.667901 0.869349 0.940380 0.508920 0.171294 - -0.418960 -0.853561 -0.685653 0.020410 0.767431 1.256002 - 1.482821 1.339439 0.837855 1.017726 0.570070 0.113773 - 0.139909 0.395753 0.537889 0.636208 0.650089 0.267184 - 1.547967 2.257389 2.394032 2.175692 1.481595 0.293701 - -0.689676 -0.839896 -0.534310 -0.438225 0.533903 0.598970 - 0.768949 0.995810 0.652911 -0.235753 -0.798399 -0.577965 - -0.042197 0.321953 -0.298679 -0.554095 -0.510240 -0.191156 - -0.017750 -0.056757 -0.076666 0.027956 0.225848 0.436121 - -0.130117 0.208504 0.303349 0.289653 0.307984 0.262606 - -0.012830 -0.325936 -0.348092 -0.201635 -0.149689 0.716518 - 1.061123 1.116685 1.125341 0.942664 0.565075 0.350993 - 0.342241 0.095186 0.159186 0.339051 0.536755 0.872774 - 1.073062 0.884147 0.618887 0.660174 0.848796 0.923782 - -0.811227 -0.970458 -0.523682 0.273424 0.859210 1.074106 - 1.111742 1.010802 0.826875 0.964549 -0.802556 -0.300340 - 0.289659 0.684550 0.918973 1.156564 1.130898 0.524125 - -0.270094 -0.546243 -0.158704 0.589777 0.931844 0.770551 - 0.608384 0.595577 0.278034 -0.422383 -0.909196 -0.863655 - -0.063359 0.297077 0.687111 0.990942 1.229250 1.056377 - 0.243139 -0.713582 -1.104926 -0.803159 0.210439 -0.018716 - -0.048111 0.171952 0.503154 0.677603 0.616088 0.393471 - 0.110746 -0.013123 / + 0.648341 0.376487 0.306689 0.234835 0.003016 -0.494571 + -1.028435 -1.095739 -0.725329 -0.679467 0.526481 0.509107 + 0.391517 -0.025932 -0.279426 -0.127581 0.017761 -0.193278 + -0.633775 -1.029683 0.859417 0.607622 0.091949 -0.829884 + -1.867067 -2.117355 -1.216993 -0.109772 0.090068 -0.479618 + 0.439765 -0.143754 -1.070861 -1.915480 -2.726342 -3.124574 + -2.504564 -1.177302 -0.224223 -0.178808 -0.057085 -0.287224 + -0.724738 -0.876790 -0.636449 -0.371928 -0.186803 0.130124 + 0.381840 0.089729 1.202264 0.996304 0.536597 0.157487 + 0.151960 0.261694 0.257023 0.275927 0.215435 -0.279581 + 1.430932 1.254107 0.654710 -0.078125 -0.653691 -0.862671 + -0.729918 -0.454728 -0.200309 -0.092174 1.324994 0.901444 + 0.074174 -0.849109 -1.649805 -1.964304 -1.696768 -1.163499 + -0.598027 -0.028493 0.899565 0.992203 0.749731 0.404224 + -0.167782 -1.022487 -1.668451 -1.600215 -1.044804 -0.566005 + -0.035406 1.009202 1.709299 1.983187 1.760534 0.946370 + 0.064703 -0.146747 0.213693 0.432429 -0.049208 0.944598 + 1.588994 1.513464 1.166571 1.047943 1.075387 0.881568 + 0.389300 -0.185701 0.296088 0.753952 1.023120 0.847401 + 0.682307 1.046445 1.562969 1.421198 0.483566 -0.607791 + 0.235147 0.157758 0.172461 0.312229 0.509417 0.808807 + 1.215309 1.370256 0.795799 -0.342228 -0.995523 -1.374976 + -0.900708 0.206069 1.040176 1.223922 1.279978 1.478402 + 1.243197 0.178017 -1.679243 -1.919407 -1.234238 0.040584 + 1.085511 1.344037 0.997618 0.657986 0.617346 0.557741 + -0.841584 -1.226023 -1.207091 -0.902073 -0.387598 0.025259 + -0.029104 -0.373039 -0.433728 0.006049 0.545837 -0.318973 + -0.824143 -0.816984 -0.678996 -0.777436 -0.967488 -0.856602 + -0.316280 0.517896 1.752741 1.156656 0.156627 -0.349148 + -0.425633 -0.648444 -1.098076 -1.299050 -0.878778 -0.019675 + 2.535338 2.215707 0.622777 -1.049959 -1.704248 -1.537606 + -1.549673 -2.107112 -2.676758 -2.857547 0.662012 0.092502 + -1.249170 -2.481425 -2.643038 -2.015550 -1.732791 -2.259825 + -3.021738 -3.374325 / diff --git a/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter0_A_ordinary.grdecl b/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter0_A_ordinary.grdecl index e28e6e8b4..50457083b 100644 --- a/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter0_A_ordinary.grdecl +++ b/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter0_A_ordinary.grdecl @@ -1,35 +1,35 @@ FIELDPAR - 0.447098 -0.927440 -1.783724 -1.779856 -1.377484 -0.837286 - 0.147021 1.467986 2.252399 1.935624 0.675510 -1.029712 - -1.740869 -1.493789 -1.025163 -0.561259 0.190373 1.198527 - 1.933705 1.891515 -0.237759 -1.565184 -2.145870 -1.851009 - -1.065883 -0.309973 0.144969 0.454058 0.777521 0.792289 - -1.140442 -1.817651 -2.422033 -2.245800 -1.117669 0.198838 - 0.997043 1.348484 1.432888 1.049439 0.051081 -0.270271 - -0.882617 -1.002432 -0.517790 0.006057 0.349438 0.661678 - 0.761552 0.443853 1.324635 1.198460 1.034424 0.958445 - 0.609836 -0.074205 -0.533611 -0.450062 -0.173472 -0.016950 - 0.946168 0.829610 0.848574 0.902655 0.762767 0.539844 - 0.502182 0.667901 0.869349 0.940380 0.508920 0.171294 - -0.418960 -0.853561 -0.685653 0.020410 0.767431 1.256002 - 1.482821 1.339439 0.837855 1.017726 0.570070 0.113773 - 0.139909 0.395753 0.537889 0.636208 0.650089 0.267184 - 1.547967 2.257389 2.394032 2.175692 1.481595 0.293701 - -0.689676 -0.839896 -0.534310 -0.438225 0.533903 0.598970 - 0.768949 0.995810 0.652911 -0.235753 -0.798399 -0.577965 - -0.042197 0.321953 -0.298679 -0.554095 -0.510240 -0.191156 - -0.017750 -0.056757 -0.076666 0.027956 0.225848 0.436121 - -0.130117 0.208504 0.303349 0.289653 0.307984 0.262606 - -0.012830 -0.325936 -0.348092 -0.201635 -0.149689 0.716518 - 1.061123 1.116685 1.125341 0.942664 0.565075 0.350993 - 0.342241 0.095186 0.159186 0.339051 0.536755 0.872774 - 1.073062 0.884147 0.618887 0.660174 0.848796 0.923782 - -0.811227 -0.970458 -0.523682 0.273424 0.859210 1.074106 - 1.111742 1.010802 0.826875 0.964549 -0.802556 -0.300340 - 0.289659 0.684550 0.918973 1.156564 1.130898 0.524125 - -0.270094 -0.546243 -0.158704 0.589777 0.931844 0.770551 - 0.608384 0.595577 0.278034 -0.422383 -0.909196 -0.863655 - -0.063359 0.297077 0.687111 0.990942 1.229250 1.056377 - 0.243139 -0.713582 -1.104926 -0.803159 0.210439 -0.018716 - -0.048111 0.171952 0.503154 0.677603 0.616088 0.393471 - 0.110746 -0.013123 / + 0.648341 0.376487 0.306689 0.234835 0.003016 -0.494571 + -1.028435 -1.095739 -0.725329 -0.679467 0.526481 0.509107 + 0.391517 -0.025932 -0.279426 -0.127581 0.017761 -0.193278 + -0.633775 -1.029683 0.859417 0.607622 0.091949 -0.829884 + -1.867067 -2.117355 -1.216993 -0.109772 0.090068 -0.479618 + 0.439765 -0.143754 -1.070861 -1.915480 -2.726342 -3.124574 + -2.504564 -1.177302 -0.224223 -0.178808 -0.057085 -0.287224 + -0.724738 -0.876790 -0.636449 -0.371928 -0.186803 0.130124 + 0.381840 0.089729 1.202264 0.996304 0.536597 0.157487 + 0.151960 0.261694 0.257023 0.275927 0.215435 -0.279581 + 1.430932 1.254107 0.654710 -0.078125 -0.653691 -0.862671 + -0.729918 -0.454728 -0.200309 -0.092174 1.324994 0.901444 + 0.074174 -0.849109 -1.649805 -1.964304 -1.696768 -1.163499 + -0.598027 -0.028493 0.899565 0.992203 0.749731 0.404224 + -0.167782 -1.022487 -1.668451 -1.600215 -1.044804 -0.566005 + -0.035406 1.009202 1.709299 1.983187 1.760534 0.946370 + 0.064703 -0.146747 0.213693 0.432429 -0.049208 0.944598 + 1.588994 1.513464 1.166571 1.047943 1.075387 0.881568 + 0.389300 -0.185701 0.296088 0.753952 1.023120 0.847401 + 0.682307 1.046445 1.562969 1.421198 0.483566 -0.607791 + 0.235147 0.157758 0.172461 0.312229 0.509417 0.808807 + 1.215309 1.370256 0.795799 -0.342228 -0.995523 -1.374976 + -0.900708 0.206069 1.040176 1.223922 1.279978 1.478402 + 1.243197 0.178017 -1.679243 -1.919407 -1.234238 0.040584 + 1.085511 1.344037 0.997618 0.657986 0.617346 0.557741 + -0.841584 -1.226023 -1.207091 -0.902073 -0.387598 0.025259 + -0.029104 -0.373039 -0.433728 0.006049 0.545837 -0.318973 + -0.824143 -0.816984 -0.678996 -0.777436 -0.967488 -0.856602 + -0.316280 0.517896 1.752741 1.156656 0.156627 -0.349148 + -0.425633 -0.648444 -1.098076 -1.299050 -0.878778 -0.019675 + 2.535338 2.215707 0.622777 -1.049959 -1.704248 -1.537606 + -1.549673 -2.107112 -2.676758 -2.857547 0.662012 0.092502 + -1.249170 -2.481425 -2.643038 -2.015550 -1.732791 -2.259825 + -3.021738 -3.374325 / diff --git a/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter1_A_local.grdecl b/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter1_A_local.grdecl index 9ce687c20..72a930b0a 100644 --- a/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter1_A_local.grdecl +++ b/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter1_A_local.grdecl @@ -1,35 +1,35 @@ FIELDPAR - 0.503113 -0.799470 -1.598637 -1.615574 -1.292307 -0.819767 - 0.138596 1.461228 2.251478 1.935624 0.905848 -0.554307 - -1.128175 -0.983294 -0.698322 -0.414831 0.212575 1.186959 - 1.927342 1.890818 0.086528 -0.970846 -1.356143 -1.079773 - -0.496326 -0.007297 0.254879 0.480148 0.781358 0.792656 - -0.778309 -1.228349 -1.622521 -1.506935 -0.715314 0.312437 - 1.005669 1.344614 1.431900 1.049514 0.110624 -0.171868 - -0.761244 -0.899838 -0.455863 0.032057 0.353409 0.659689 - 0.760971 0.443853 1.321224 1.193276 1.026787 0.951865 - 0.609244 -0.070772 -0.532136 -0.450062 -0.173472 -0.016950 - 0.946168 0.829610 0.848574 0.902655 0.762767 0.539844 - 0.502182 0.667901 0.869349 0.940380 0.508920 0.171294 - -0.418960 -0.853561 -0.685653 0.020410 0.767431 1.256002 - 1.482821 1.339439 0.837855 1.017726 0.570070 0.113773 - 0.139909 0.395753 0.537889 0.636208 0.650089 0.267184 - 1.547967 2.257389 2.394032 2.175748 1.481448 0.292881 - -0.691356 -0.840922 -0.532808 -0.435148 0.533903 0.599393 - 0.772311 1.003626 0.663861 -0.220564 -0.778281 -0.566565 - -0.042683 0.324821 -0.298609 -0.551718 -0.496264 -0.147628 - 0.080352 0.152999 0.263475 0.316717 0.281956 0.352902 - -0.130090 0.210363 0.314432 0.324933 0.405219 0.576351 - 0.750075 0.705298 0.307757 -0.118992 -0.149618 0.716920 - 1.062580 1.123354 1.162760 1.121591 1.058959 1.083995 - 0.922619 0.316041 0.159186 0.339011 0.535740 0.871985 - 1.085140 0.930327 0.702547 0.757706 0.934847 0.981663 - -0.811227 -0.970458 -0.523682 0.273299 0.858675 1.074121 - 1.113757 1.014924 0.831551 0.969309 -0.802556 -0.300340 - 0.289659 0.684550 0.918973 1.156564 1.130898 0.524125 - -0.270094 -0.546243 -0.158704 0.589777 0.931844 0.770551 - 0.608384 0.595577 0.278034 -0.422383 -0.909196 -0.863655 - -0.063359 0.297077 0.687111 0.990942 1.229250 1.056377 - 0.243139 -0.713582 -1.104926 -0.803159 0.210439 -0.018716 - -0.048111 0.171952 0.503154 0.677603 0.616088 0.393471 - 0.110746 -0.013123 / + 0.633921 0.344303 0.258601 0.191491 -0.018918 -0.498514 + -1.025931 -1.093902 -0.725080 -0.679467 0.448157 0.360655 + 0.203758 -0.181519 -0.373943 -0.165657 0.013776 -0.189577 + -0.632042 -1.029509 0.752745 0.430349 -0.131309 -1.041282 + -2.013314 -2.186823 -1.239028 -0.114402 0.089445 -0.479688 + 0.335537 -0.296227 -1.267086 -2.096060 -2.821541 -3.147145 + -2.503762 -1.175528 -0.223818 -0.178817 -0.075249 -0.314316 + -0.755347 -0.901527 -0.651755 -0.379009 -0.188191 0.130556 + 0.381992 0.089729 1.202907 0.997374 0.538321 0.158968 + 0.151861 0.260634 0.256602 0.275927 0.215435 -0.279581 + 1.430932 1.254107 0.654710 -0.078125 -0.653691 -0.862671 + -0.729918 -0.454728 -0.200309 -0.092174 1.324994 0.901444 + 0.074174 -0.849109 -1.649805 -1.964304 -1.696768 -1.163499 + -0.598027 -0.028493 0.899565 0.992203 0.749731 0.404224 + -0.167782 -1.022487 -1.668451 -1.600215 -1.044804 -0.566005 + -0.035406 1.009202 1.709299 1.982351 1.758293 0.945175 + 0.067367 -0.145392 0.208298 0.424407 -0.049208 0.943305 + 1.580259 1.497742 1.151032 1.021489 1.023858 0.836218 + 0.363724 -0.208649 0.295792 0.748220 0.995761 0.767752 + 0.476256 0.483544 0.478139 0.309869 0.034773 -0.492187 + 0.234423 0.150893 0.145549 0.234826 0.274059 0.002614 + -0.761320 -1.349661 -0.981133 -0.542627 -0.995303 -1.372421 + -0.893072 0.209839 0.986139 0.926262 0.406767 0.068207 + 0.056531 -0.219848 -1.679243 -1.918049 -1.223385 0.059116 + 1.078058 1.271132 0.866365 0.488187 0.431072 0.417033 + -0.841584 -1.226023 -1.207091 -0.900847 -0.384573 0.026700 + -0.030616 -0.376158 -0.439301 -0.002967 0.545837 -0.318973 + -0.824143 -0.816984 -0.678996 -0.777436 -0.967488 -0.856602 + -0.316280 0.517896 1.752741 1.156656 0.156627 -0.349148 + -0.425633 -0.648444 -1.098076 -1.299050 -0.878778 -0.019675 + 2.535338 2.215707 0.622777 -1.049959 -1.704248 -1.537606 + -1.549673 -2.107112 -2.676758 -2.857547 0.662012 0.092502 + -1.249170 -2.481425 -2.643038 -2.015550 -1.732791 -2.259825 + -3.021738 -3.374325 / diff --git a/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter1_A_ordinary.grdecl b/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter1_A_ordinary.grdecl index 804c5a958..8d2cf8968 100644 --- a/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter1_A_ordinary.grdecl +++ b/tests/jobs/localisation/example_case/init_files/FieldParam_real5_iter1_A_ordinary.grdecl @@ -1,35 +1,35 @@ FIELDPAR - 1.085490 -0.083315 -0.789288 -0.789165 -0.586990 -0.559373 - -0.343767 0.443178 1.368611 1.659485 1.396004 -0.018027 - -0.707973 -0.743021 -0.429446 0.045499 0.571962 1.025634 - 1.257195 1.147056 0.964516 -0.192533 -0.859781 -0.865479 - -0.309447 0.450941 0.984185 1.180901 1.168443 0.916860 - 0.133841 -0.622782 -1.352526 -1.408802 -0.736061 0.083822 - 0.657309 1.078980 1.313375 1.053631 0.608040 0.462978 - 0.071475 -0.076535 0.136471 0.274125 0.201012 0.189629 - 0.146433 -0.216468 1.204505 1.214145 1.052443 0.847742 - 0.701944 0.616284 0.612844 0.625166 0.450898 0.098987 - 0.596412 0.390905 0.119961 0.056146 0.351345 0.937799 - 1.488497 1.676105 1.550723 1.377618 0.671901 0.247238 - -0.467125 -0.930896 -0.610653 0.482716 1.704746 2.469764 - 2.697218 2.474849 1.075824 1.265861 0.641478 -0.024670 - -0.044065 0.485255 1.146655 1.710001 1.937257 1.607289 - 0.827842 1.614957 1.710367 1.349503 0.742882 0.025111 - -0.367521 -0.228976 -0.080028 -0.287499 -0.850119 -0.281284 - 0.100357 0.028347 -0.435972 -0.769479 -0.599738 -0.233174 - -0.135364 -0.174462 -1.167160 -1.083778 -0.917895 -0.635228 - -0.226548 0.350760 0.858485 0.898071 0.484594 0.075022 - 0.123900 0.422942 0.516814 0.728286 1.251850 1.850172 - 2.021211 1.507754 0.494860 -0.579094 0.631539 1.403754 - 1.700534 1.819185 1.961752 2.035727 1.921305 1.574197 - 0.853479 -0.314344 1.008672 1.269054 1.405207 1.701192 - 1.846999 1.527640 1.092091 0.968876 0.953279 0.677045 - 0.096205 -0.245538 -0.032729 0.666658 1.160043 1.118110 - 0.865733 0.769952 0.875593 1.104154 -0.428474 -0.396409 - 0.064377 0.712566 1.143688 1.251336 1.028843 0.511769 - -0.009924 -0.242215 0.008843 0.320565 0.446658 0.670320 - 1.099329 1.364959 1.005827 0.169832 -0.502305 -0.731030 - 0.303961 0.438725 0.352706 0.279200 0.454325 0.576764 - 0.131197 -0.782672 -1.533460 -1.800226 0.647334 0.487528 - -0.076037 -0.663710 -0.886921 -0.712353 -0.377262 -0.147717 - -0.180952 -0.487075 / + 0.104214 0.342202 0.520130 0.380240 0.095813 -0.136297 + -0.355104 -0.569595 -0.683818 -0.731814 -0.258818 -0.194299 + -0.176788 -0.209052 -0.172515 -0.077219 -0.109386 -0.298137 + -0.448531 -0.517740 -1.006981 -1.150420 -1.109730 -1.064366 + -1.229900 -1.289160 -0.782617 -0.003138 0.285632 -0.052461 + -0.944101 -0.758545 -0.562494 -0.588147 -0.801886 -0.865748 + -0.564297 -0.058913 0.300990 0.266233 -0.351672 -0.725306 + -1.111470 -0.928005 -0.250138 0.371252 0.625868 0.631653 + 0.569303 0.449005 0.326902 -0.347987 -0.730708 -0.504222 + 0.079826 0.496895 0.576026 0.539960 0.516542 0.425769 + 0.464976 0.314174 0.406236 0.402418 0.209875 -0.036485 + -0.256383 -0.285065 0.096529 0.681333 0.568014 0.087123 + -0.302935 -0.545198 -0.805446 -1.058153 -1.115405 -0.949304 + -0.620639 -0.120783 -0.063724 -0.076800 0.062384 0.092257 + -0.236244 -0.829318 -1.358000 -1.613115 -1.612906 -1.396562 + -0.897339 -0.244634 0.747106 1.438242 1.437786 0.856372 + 0.135542 -0.311671 -0.419497 -0.481435 -0.309912 0.164818 + 0.822639 1.355759 1.447891 1.104244 0.703577 0.462568 + 0.187348 -0.272536 0.385562 0.419112 0.545453 0.419995 + 0.030311 -0.361274 -0.598885 -0.655609 -0.540137 -0.368054 + -0.278741 -0.432814 -0.373347 -0.289267 -0.460392 -0.968454 + -1.543626 -1.736611 -1.309484 -0.490333 -1.006618 -1.230912 + -0.777194 0.098115 0.598278 0.271528 -0.395747 -0.709308 + -0.610479 -0.379289 -1.202461 -0.763079 0.128654 0.754673 + 0.834113 0.559372 0.128133 -0.308639 -0.576811 -0.649743 + -0.755358 -0.387099 0.075484 0.264008 0.247811 0.176042 + -0.008154 -0.371590 -0.759583 -0.918191 -0.376497 -0.585650 + -0.522117 -0.282766 -0.124909 -0.234511 -0.448412 -0.494451 + -0.378137 -0.222607 -0.044428 -0.290305 -0.449802 -0.451524 + -0.452780 -0.614408 -0.876059 -0.919489 -0.511855 0.076720 + 0.369873 -0.010521 -0.687853 -1.093542 -1.077759 -0.994339 + -1.080815 -1.195016 -1.139390 -0.926603 -0.086603 -0.618167 + -1.091294 -1.217651 -0.860916 -0.371885 -0.289161 -0.700608 + -1.184618 -1.329703 / diff --git a/tests/jobs/localisation/example_case/scripts/common_functions.py b/tests/jobs/localisation/example_case/scripts/common_functions.py index 29143240c..69e5cbf5d 100644 --- a/tests/jobs/localisation/example_case/scripts/common_functions.py +++ b/tests/jobs/localisation/example_case/scripts/common_functions.py @@ -493,10 +493,11 @@ def generate_field_and_upscale( def get_seed(seed_file_name, r_number): + # Realization number counted from 0 with open(seed_file_name, "r", encoding="utf8") as file: lines = file.readlines() try: - seed_value = int(lines[r_number - 1]) + seed_value = int(lines[r_number]) except IndexError as exc: raise IOError("Seed value not found for realization {r_number} ") from exc except ValueError as exc: