Skip to content

Commit

Permalink
Add option to specify alternative settings for the test case using a …
Browse files Browse the repository at this point in the history
…yml file
  • Loading branch information
oddvarlia committed Oct 21, 2023
1 parent ef9b419 commit d07f692
Show file tree
Hide file tree
Showing 7 changed files with 515 additions and 216 deletions.
45 changes: 45 additions & 0 deletions tests/jobs/localisation/example_case/example_case.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
settings:
grid_size:
xsize: 7500.0
ysize: 12500.0
zsize: 50.0
use_eclipse_grid_index_origo: "eclipse"

field:
name: "FIELDPARAM"
initial_file_name: "init_files/FieldParam.roff"
updated_file_name: "FieldParam.roff"
seed_file: "randomseeds.txt"
variogram: "gaussian"
correlation_range: [5000.0, 3000.0, 2.0]
correlation_azimuth: 45.0
correlation_dip: 0.0
trend_use: False
trend_params: [ 1.0, -1.0 ]
trend_relstd: 0.15
grid_dimension: [150, 250, 1]
grid_file_name: "GRID.EGRID"

response:
grid_dimension: [15, 25, 1]
upscaled_file_name: "Upscaled.roff"
grid_file_name: "UpscaleGrid.EGRID"
response_function: "average"
gen_data_file_name: "UpscaledField_0.txt"
calculate_all_cells: True

observation:
directory: "observations"
file_name: "observations.obs"
data_dir: "obs_data"
3D_param_file_name: "init_files/UpscaledObsField.roff"
rel_error: 0.10
min_abs_error: 0.01
selected_grid_cells:
- [5, 10, 1]
- [10, 20, 1]

optional:
write_upscaled_to_file: True
write_obs_pred_diff_field_file: True

15 changes: 15 additions & 0 deletions tests/jobs/localisation/example_case/modify_variogram.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
settings:

field:
variogram: "spherical"
correlation_range: [4000.0, 4000.0, 2.0]

observation:
directory: "observations2"
data_dir: "obs_data2"
3D_param_file_name: "init_files/UpscaledObsField2.roff"





Loading

0 comments on commit d07f692

Please sign in to comment.