Skip to content

Commit

Permalink
Updated default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvarlia committed Nov 22, 2023
1 parent 1b4920b commit c525139
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions tests/jobs/localisation/example_case/scripts/common_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ModelSize:
containing upscaled values of the simulated field.
"""

size: Tuple[float] = (7500.0, 12500.0, 50.0)
size: Tuple[float] = (1000.0, 2000.0, 50.0)
polygon_file: str = None
use_eclipse_grid_index_origo: bool = True

Expand All @@ -51,15 +51,15 @@ class Field:
updated_file_name: str = "FieldParam"
seed_file: str = "randomseeds.txt"
variogram: str = "exponential"
correlation_range: Tuple[float] = (3000.0, 1000.0, 2.0)
correlation_azimuth: float = 45.0
correlation_range: Tuple[float] = (250.0, 500.0, 2.0)
correlation_azimuth: float = 0.0
correlation_dip: float = 0.0
correlation_exponent: float = 1.9
trend_use: bool = False
trend_params: Tuple[float] = (1.0, -1.0)
trend_relstd: float = 0.05
grid_dimension: Tuple[int] = (150, 250, 1)
grid_file_name: str = "GRID.EGRID"
trend_relstd: float = 0.15
grid_dimension: Tuple[int] = (10, 20, 1)
grid_file_name: str = "GRID_STANDARD.EGRID"


@dataclass
Expand All @@ -74,9 +74,9 @@ class Response:

# pylint: disable=too-many-instance-attributes
name: str = "UPSCALED"
grid_dimension: Tuple[int] = (15, 25, 1)
grid_dimension: Tuple[int] = (2, 4, 1)
upscaled_file_name: str = "Upscaled"
grid_file_name: str = "UpscaleGrid.EGRID"
grid_file_name: str = "GRID_STANDARD_UPSCALED.EGRID"
file_format: str = "ROFF"
write_upscaled_field: bool = True
response_function: str = "average"
Expand All @@ -99,8 +99,7 @@ class Observation:
reference_field_name: str = "ObsField"
rel_error: float = 0.10
min_abs_error: float = 0.01
# selected_grid_cells: Tuple[Tuple[int]] = ((5, 10, 1), (10, 5, 1))
selected_grid_cells: Tuple[Tuple[int]] = (8, 12, 1)
selected_grid_cells: Tuple[Tuple[int]] = ((1, 1, 1), (2, 3, 1))


@dataclass
Expand All @@ -110,7 +109,6 @@ class Localisation:
"""

method: str = "gaussian"
# method: str = "constant"


@dataclass
Expand Down

0 comments on commit c525139

Please sign in to comment.