A (lazy) parser and writer for the ecl output format.
Project description
ecl-data-io
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ecl-data-io-3.0.0.tar.gz
(26.0 kB
view hashes)
Built Distribution
Close
Hashes for ecl_data_io-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c34bd588a0027886c3b03b286c26fe5a9725028e0b0c1b07355df3bdea45da1 |
|
MD5 | 00a176a97a3a3d09231786b9502afc4b |
|
BLAKE2b-256 | 8286a0cb85aca795ba894848ad1f297b8b078165841899c2af28fa7dcc4aee56 |