CREATE_DATE_FILES
Make ‘single_dates.txt’ and ‘diff_dates.txt’ files that can be used with ECLRST2ROFF and ECLDIFF2ROFF. The output files are stored directly in runpath folder.
The script extracts date lists from a global variables YAML file. The path to the global variables YAML file is provided via an input argument, and the names of the date lists in that YAML file are also provided via input arguments.
The date lists must be defined under global:dates: level in the YAML file.
Example of expected structure in global variable file:
global: dates: SEISMIC_HIST_DATES: - 2018-01-01 - 2020-07-01 SEISMIC_HIST_DIFFDATES: - - 2020-07-01 - 2018-01-01
usage: create_date_files [-h] [--single-dates SINGLE_DATES]
[--diff-dates DIFF_DATES]
globvar_file
Positional Arguments
- globvar_file
Name of global variable YAML file
Named Arguments
- --single-dates
Name of single dates list in global variable file
- --diff-dates
Name of diffdates list in global variable file