Skip to content

Commit

Permalink
Removed use of global settings object
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvarlia committed Nov 16, 2023
1 parent 1595f68 commit 21ecee0
Show file tree
Hide file tree
Showing 9 changed files with 368 additions and 245 deletions.
8 changes: 4 additions & 4 deletions tests/jobs/localisation/example_case/README
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
### Typical Workflow:
1. **Preparation:** Prepare ERT config input by running `scripts/init_test_case.py`.
2. Directories for observations are created automatically according to the default settings.
1. **Preparation:** Prepare ERT config input by running `scripts/init_test_case.py` with a config file in yaml format as input.
2. Directories for observations are created automatically according to the default settings or settings in config file..
3. Activate or deactivate localisation in ERT config file (`HOOK_WORKFLOW LOAD_WORKFLOW` for localisation).
4. Now ready to run ERT.
### What the Script `sim_fields.py` Does:
1. Get iteration and realisation number from ERT using ERT environment variables `_ERT_ITERATION_NUMBER` and `_ERT_REALIZATION_NUMBER`. If running with an old Komodo version, the script will require iteration and realisation_number as command line input.
1. Require 3 input arguments: iteration number, realization_number, config file.
1. Get iteration and realisation number from ERT.
2. If iteration = 0, then:
- Simulate field and export to file to be used in `FIELD` keyword in ERT config file.
- Upscale field and optionally export to file for QC purpose.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# ROFF format standard Eclipse origo
settings:
grid_size:
xsize: 7500.0
ysize: 12500.0
zsize: 50.0
model_size:
size: [ 7500.0, 12500.0, 50.0 ]
use_eclipse_grid_index_origo: True

field:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# ROFF format standard Eclipse origo
settings:
grid_size:
xsize: 7500.0
ysize: 12500.0
zsize: 50.0
model_size:
size: [ 7500.0, 12500.0, 50.0 ]
use_eclipse_grid_index_origo: True
polygon_file: "Polygons.txt"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# GRDECL format standard Eclipse origo
settings:
grid_size:
xsize: 7500.0
ysize: 12500.0
zsize: 50.0
model_size:
size: [ 7500.0, 12500.0, 50.0 ]
use_eclipse_grid_index_origo: True

field:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# ROFF format standard RMS origo
settings:
grid_size:
xsize: 7500.0
ysize: 12500.0
zsize: 50.0
model_size:
size: [ 7500.0, 12500.0, 50.0 ]
use_eclipse_grid_index_origo: False

field:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# GRDECL format standard RMS origo
settings:
grid_size:
xsize: 7500.0
ysize: 12500.0
zsize: 50.0
model_size:
size: [ 7500.0, 12500.0, 50.0 ]
use_eclipse_grid_index_origo: False

field:
Expand Down
Loading

0 comments on commit 21ecee0

Please sign in to comment.