Skip to content

Commit

Permalink
Add temporary test
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeda committed Mar 29, 2023
1 parent b25fc97 commit 87e8eaa
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test-data/poly_example/poly_loc.ert
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
JOBNAME poly_%d

RANDOM_SEED 1234

QUEUE_SYSTEM LOCAL
QUEUE_OPTION LOCAL MAX_RUNNING 50

RUNPATH runpath/es_loc/realization-<IENS>/iter-<ITER>

ANALYSIS_SET_VAR STD_ENKF LOCALIZATION True

OBS_CONFIG observations
TIME_MAP time_map

NUM_REALIZATIONS 100
MIN_REALIZATIONS 1

GEN_KW COEFFS coeff.tmpl coeffs.json coeff_priors
GEN_DATA POLY_RES RESULT_FILE:poly_%d.out REPORT_STEPS:0 INPUT_FORMAT:ASCII

INSTALL_JOB poly_eval POLY_EVAL
SIMULATION_JOB poly_eval
23 changes: 23 additions & 0 deletions test-data/poly_example/poly_loc_1.ert
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
JOBNAME poly_%d

RANDOM_SEED 1234

QUEUE_SYSTEM LOCAL
QUEUE_OPTION LOCAL MAX_RUNNING 50

RUNPATH runpath/es_loc_1/realization-<IENS>/iter-<ITER>

ANALYSIS_SET_VAR STD_ENKF LOCALIZATION True
ANALYSIS_SET_VAR STD_ENKF LOCALIZATION_CORRELATION_THRESHOLD 1.0

OBS_CONFIG observations
TIME_MAP time_map

NUM_REALIZATIONS 100
MIN_REALIZATIONS 1

GEN_KW COEFFS coeff.tmpl coeffs.json coeff_priors
GEN_DATA POLY_RES RESULT_FILE:poly_%d.out REPORT_STEPS:0 INPUT_FORMAT:ASCII

INSTALL_JOB poly_eval POLY_EVAL
SIMULATION_JOB poly_eval
20 changes: 20 additions & 0 deletions test-data/poly_example/poly_no_loc.ert
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
JOBNAME poly_%d

RANDOM_SEED 1234

QUEUE_SYSTEM LOCAL
QUEUE_OPTION LOCAL MAX_RUNNING 50

RUNPATH runpath/es_no_loc/realization-<IENS>/iter-<ITER>

OBS_CONFIG observations
TIME_MAP time_map

NUM_REALIZATIONS 100
MIN_REALIZATIONS 1

GEN_KW COEFFS coeff.tmpl coeffs.json coeff_priors
GEN_DATA POLY_RES RESULT_FILE:poly_%d.out REPORT_STEPS:0 INPUT_FORMAT:ASCII

INSTALL_JOB poly_eval POLY_EVAL
SIMULATION_JOB poly_eval
23 changes: 23 additions & 0 deletions test-data/poly_example/poly_zero_loc.ert
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
JOBNAME poly_%d

RANDOM_SEED 1234

QUEUE_SYSTEM LOCAL
QUEUE_OPTION LOCAL MAX_RUNNING 50

RUNPATH runpath/es_zero_loc/realization-<IENS>/iter-<ITER>

ANALYSIS_SET_VAR STD_ENKF LOCALIZATION True
ANALYSIS_SET_VAR STD_ENKF LOCALIZATION_CORRELATION_THRESHOLD 0.0

OBS_CONFIG observations
TIME_MAP time_map

NUM_REALIZATIONS 100
MIN_REALIZATIONS 1

GEN_KW COEFFS coeff.tmpl coeffs.json coeff_priors
GEN_DATA POLY_RES RESULT_FILE:poly_%d.out REPORT_STEPS:0 INPUT_FORMAT:ASCII

INSTALL_JOB poly_eval POLY_EVAL
SIMULATION_JOB poly_eval
9 changes: 9 additions & 0 deletions test-data/poly_example/test_localization.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

ert ensemble_smoother poly_no_loc.ert --target ES_no_loc

ert ensemble_smoother poly_zero_loc.ert --target ES_zero_loc

ert ensemble_smoother poly_loc.ert --target ES_loc

ert ensemble_smoother poly_loc_1.ert --target ES_loc_1

0 comments on commit 87e8eaa

Please sign in to comment.