Tools for extracting information from Eclipse run decks and results.
Project description
eclx -
Functions and CLI for extracting data from Eclipse run decks and results.
This library builds upon ecl and add safer/easier methods using context managers to extract data.
Currently ecl
is only available via pip on Linux and MacOS but windows installable artifacts can be found here.
Installation
eclx
is available via pip
.
pip install eclx
Functions and Classes
eclx
provides the following functions and classes.
from eclx import (
EclDeck, # class for handling ecl decks
open_EclFile, # context manager for Ecl files e.g. INIT, UNRST
open_EclGrid, # context manager for Ecl grid files e.g. EGRID
open_EclSum, # context manager for Ecl summary files e.g. SUM
get_filetype, # method to discover the type of Eclipse file
get_ecl_deck, # method to get all related files in an Eclipse deck, requires the files are named the same
load_ecl_property, # load a 3d grid property (requires the grid file) as a dataframe
load_ecl_grid_index, # load the 3d cell index as a dataframe
get_ecl_property_keys, # get a list of all the 3d property keys in a file
load_ecl_grid, # load an ecl grid (corner points) as a dataframe
load_init_intehead, # load INIT intehead keyword
load_ecl_rst, # load restart 3d grid properties for a given report into a dataframe
get_restart_reports, # get all of the reports available for a deck
get_summary_keys, # get the curve keys from the Eclipse summary file (well curves)
load_summary_df, # load the summary curves into a dataframe
)
CLI
The command-line interface has three sub-commands report
, summary
and simx
.
Help menus for each sub-command are available using the --help
flag.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
eclx-0.2.1-py3-none-any.whl
(30.7 kB
view details)
File details
Details for the file eclx-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: eclx-0.2.1-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a3102cf83439ed27e21deee9200cee402e372cddecd1ec891356c2b029367ac |
|
MD5 | 5ff41db670b11b2d880da36fa3bb47af |
|
BLAKE2b-256 | 11b5800c1e7e210d22d9d8e004dc132d87201f84ad0a772547146a6d4fc92261 |