Skip to content

Work in progress parser of the eclipse data input format

License

Notifications You must be signed in to change notification settings

mariuswinger/ecl-data-io

 
 

Repository files navigation

ecl-data-io

Code style: black docs

Parser for the ecl output format, such as found in files with extensions .UNRST, .EGRID, .INIT, etc. and also the corresponding ascii files with extension .FUNRST, .FEGRID, .FINIT, etc.

Installation

ecl-data-io can be installed with pip:

pip install ecl-data-io

Getting started

Ecl output files consist of a sequence of named arrays. ecl-data-io does not interpret the names, but simply give you a tuple of the name and a numpy array with the read function:

import ecl_data_io as eclio

for kw, arr in eclio.read("my_grid.egrid"):
    print(kw)

>>> "FILEHEAD"
>>> "GRIDHEAD"
>>> "COORD"
>>> "ZCORN"
>>> "ACTNUM"
>>> "MAPAXES"

For more information, see the docs.

About

Work in progress parser of the eclipse data input format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%