Using Python with Eclipse and OPM
Using Python with Eclipse and OPM
Classification: Internal ? Statoil ASA
17 oktober 20
Content
1. Python and Eclipse output files 1. Installing the libecl Python bindings 2. The Eclipse binary format 3. The different classes 4. Some examples
2. Sunbeam: Python wrappers for OPM-parser 1. Build and install 2. Examples
2 Classification: Internal
17 oktober 2017
? Statoil ASA
Installation
bash% git clone git@:Statoi/libecl bash% cd libecl bash% mkdir build ; cd build bash% cmake .. ?DBUILD_PYTHON=ON ?DCMAKE_INSTALL_PREFIX=$prefix bash% make ; make install
bash% export PYTHONPATH=$prefix/lib/python2.7/{site|dist}packages bash% pydoc ecl.ecl.EclGrid
3 Classification: Internal
17 oktober 2017
? Statoil ASA
The ECLIPSE binary format
PRESSURE 32156 REAL 256.78 256.09 255.08 254.07 253.67 251.05 254.56 256.78 ... SWAT____ 32156 REAL 0.91 0.90 0.93 0.97 0.92 0.89 0.91 0.96 ...
1. Name: 8 character string 2. Data size: integer 3. Data type: 4 character string
1. Fortran IO with embedded block sizes.
2. Endian swapping
Data in blocks.
EclKW
4 Classification: Internal
17 oktober 2017
? Statoil ASA
Small libecl binary utilities
convert.x: Will convert an ECLIPSE output file back and forth between binary and ASCII represenetation. Will consider file name extension to determine the desired conversion
bash% convert.x CASE.UNRST => CASE.FUNRST
ecl_pack.x / ecl_unpack.x Will convert ECLIPSE summary and restart files between the unifed and multiple file formats
bash% ecl_pack.x CASE.X* => CASE.UNRST
kw_list.x Will list all the keyword headers from an ECLIPSE output file:
bash% ecl_pack.x CASE.X* => CASE.UNRST
5 Classification: Internal
17 oktober 2017
? Statoil ASA
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- chapter 10 strings and hashtables
- python programming project ii encryption decryption
- mtat 07 017 applied cryptography
- logix 5000 controllers ascii strings 1756 pm013g en p
- quick review for lab 4 cs 112 sequences lists and tuples
- ascii conversion chart
- simple image file formats
- chapter 12 — string encoding an i
- common python functions cs303e elements of computers a
- using python with eclipse and opm
Related searches
- using commas with quotation marks
- using if with conditional formatting
- using python in bash
- using python on windows 10
- sum of squared error using python functions
- install jupyter using python 3 8
- using python functions
- using python as a calculator
- python list with index and strings
- using python in cmd
- using python in linux
- using python in command line