COMPAREECL(1)
compareECL π
okay bestie, this is a User Command situation and the manual page is literally called compareECL, so let's get into it π«Ά
β¨ NAME β¨
compareECL β the Comparator for Eclipse files π
β¨ SYNOPSIS β¨
convertECL [OPTIONS] ECL_DECK_FILENAME_1 ECL_DECK_FILENAME_2
ABSOLUTE_TOLERANCE RELATIVE_TOLERANCE
yes, it literally says convertECL in the synopsis and I am NOT fixing it, I am reporting it π
β¨ DESCRIPTION β¨
okay so compareECL compares ECLIPSE files β and when I say files I mean:
- restart (
.RST) - unified restart (
.UNRST) - initial (
.INIT) - summary (
.SMRY) - unified summary (
.UNSMRY) - or
.RFT
β¦and also gridsizes (those come from the .EGRID or .GRID file) from two simulations. it's giving side-by-side, it's giving comparison era, we love to see it πΈ
The program takes four arguments, and bestie, all four are mandatory:
ECL_DECK_FILENAME_1β path to the first reference case, but without extension. yes, no extension. I know. keep up πECL_DECK_FILENAME_2β path to the second reference case, also without extension.ABSOLUTE_TOLERANCEβ the absolute tolerance to use for coparison πRELATIVE_TOLERANCEβ the relative tolerance (between 0 and 1) to use for comparison
β¨ OPTIONS β¨
In addition, the program takes these options β and bestie, hear me: they must be given before the arguments π like, they go first, that's the vibe check:
-aβ Run a full analysis of errors. π₯-hβ Print help and exit. bye bestie π-dβ Use report steps only when comparing results from summary files.-iβ Execute integration test (regression test is default).
The integration test compares SGAS, SWAT and PRESSURE in unified restart files, and WOPR, WGPR, WWPR and WBHP (all wells) in summary file. π
-kβ Specify specific keyword to compare (capitalized), for examples-k PRESSUREor-k WOPR:A-1H-lβ Only do comparison for the last Report Step. This option is only valid for restart files.-nβ Do not throw on errors. no cap π«Ά-pβ Print keywords in both cases and exit.-rβ compare a specific report time step number in a restart file.-tβ Specify ECLIPSE filetype to compare, (default behaviour is that all files are compared if found). Different possible arguments are:-t UNRSTβ Compare two unified restart files (.UNRST). This the default value, so it is the same as not passing option-t.-t EGRIDβ Compare two EGrid files (.EGRID).-t INITβ Compare two initial files (.INIT).-t RFTβ Compare two RFT files (.RFT).-t SMRYβ Compare two cases consistent of (unified) summary files.-t RSMβ Compare RSM file against a summary file.
-xβ Allow extra keywords in case number 2. These additional keywords (not found in case number1) will be ignored in the comparison.-yβ Allow extra keywords for both cases. The additional keywords will be ignored in the comparison.
β¨ Example usage of the program π¦
like, here's what it actually looks like in the wild:
compareECL -k PRESSURE <path to first casefile> <path to second
casefile> 1e-3 1e-5
compareECL -t INIT -k PORO <path to first casefile> <path to second
casefile> 1e-3 1e-5
compareECL -i <path to first casefile> <path to second casefile> 0.01
1e-6
β οΈ the drama warning: Exceptions are thrown (and hence program exits) when deviations are larger than the specified tolerances, or when the number of cells does not match β either in the grid file or for a specific keyword. π Information about the keyword, keyword occurrence (zero based) and cell coordinate is printed when an exception is thrown. For more information about how the cases are compared, see the documentation of the EclFilesComparator class. π
and that's the whole page bestie β compareECL, source compareECL, dated October 2024, manual page COMPAREECL(1). mwah, go compare some ECLIPSE files, you absolute icon ππβ¨
π¦ where this page comes from
- debian trixie: libopm-common-bin 2024.10+ds-5 Β· GPL-3.0-or-later
- ubuntu questing: libopm-common-bin 2025.04+ds-5
- ubuntu resolute: libopm-common-bin 2025.10+ds-3 Β· GPL-3.0-or-later
- ubuntu stonking: libopm-common-bin 2025.10+ds-4 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms