Utilities for working with Petrel imports and exports.
Project description
petrelpy
Getting data in and out of Petrel
Included are a command line tool and library for importing
- production
- injection
- completions information
- well formation tops, and
- headers
into Petrel, and exporting
- per-well geomodel properties
- GSLIB cellular outputs, and
- geomodel properties at tops
Installation
The easiest way to use the command line interface is with uvx or pipx:
uvx tool install petrelpy
This will put petrelpy on your path, and you can invoke the CLI tool with
$ petrelpy --help
Usage: petrelpy [OPTIONS] COMMAND [ARGS]...
Command line tool for working with Petrel input and output formats.
Options:
-h, --help Show this message and exit.
Commands:
production Convert IHS production spreadsheet to Petrel vol format.
In order to use the library, install with pip:
pip install petrelpy
Getting started
Check out the docs. You can also choose to
use nox -s docs -- serve to see them locally.
Contributing
New Petrel-helpers are always appreciated. See the contribution guidelines
The Stormy Petrel
A thousand miles from land are we,
Tossing about on the roaring sea, -
From billow to bounding billow cast,
Like fleecy snow on the stormy blast.
The sails are scattered abroad like weeds;
The strong masts shake like quivering reeds;
The mighty cables and iron chains,
The hull, which all earthly strength disdains, -
They strain and they crack; and hearts like stone
Their natural, hard, proud strength disown.
Up and down! - up and down!
From the base of the wave to the billow’s crown,
And amidst the flashing and feathery foam
The stormy petrel finds a home, -
A home, if such a place may be
For her who lives on the wide, wide sea,
On the craggy ice, in the frozen air,
And only seeketh her rocky lair
To warm her young, and to teach them spring
At once o’er the waves on their stormy wing!
O’er the deep! - o’er the deep!
Where the whale and the shark and the sword-fish sleep, -
Outflying the blast and the driving rain,
The petrel telleth her tale — in vain;
For the mariner curseth the warning bird
Which bringeth him news of the storm unheard!
Ah! thus does the prophet of good or ill
Meet hate from the creatures he serveth still;
Yet he ne’er falters, - so, petrel, spring
Once more o’er the waves on thy stormy wing!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file petrelpy-0.2.0.tar.gz.
File metadata
- Download URL: petrelpy-0.2.0.tar.gz
- Upload date:
- Size: 41.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b36a6cd96872b31b245c8db06ea066c6e4ba80da558560e754148dd2b7ddcdb
|
|
| MD5 |
d38119c4df9add1e2727154a67e9b3d0
|
|
| BLAKE2b-256 |
94ca032573c364f9f1e023acd4bb6813a8ec28aabae0bdd25e92f432fbe184bd
|
Provenance
The following attestation bundles were made for petrelpy-0.2.0.tar.gz:
Publisher:
deploy.yml on frank1010111/petrelpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
petrelpy-0.2.0.tar.gz -
Subject digest:
0b36a6cd96872b31b245c8db06ea066c6e4ba80da558560e754148dd2b7ddcdb - Sigstore transparency entry: 158331723
- Sigstore integration time:
-
Permalink:
frank1010111/petrelpy@f83fae6bc15e0e8ded687716e0b895c54e742020 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/frank1010111
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@f83fae6bc15e0e8ded687716e0b895c54e742020 -
Trigger Event:
release
-
Statement type:
File details
Details for the file petrelpy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: petrelpy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f81eb2600dfc8ac0846c7bcf794019b0b3c0200677a46180ff0cd2e4dad6889f
|
|
| MD5 |
549eab1051ca25eb330aaf3c024d2a2f
|
|
| BLAKE2b-256 |
e92644c32998fe513b178985bc848e403c42619a6c67bb01b71be83138cfed6b
|
Provenance
The following attestation bundles were made for petrelpy-0.2.0-py3-none-any.whl:
Publisher:
deploy.yml on frank1010111/petrelpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
petrelpy-0.2.0-py3-none-any.whl -
Subject digest:
f81eb2600dfc8ac0846c7bcf794019b0b3c0200677a46180ff0cd2e4dad6889f - Sigstore transparency entry: 158331725
- Sigstore integration time:
-
Permalink:
frank1010111/petrelpy@f83fae6bc15e0e8ded687716e0b895c54e742020 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/frank1010111
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@f83fae6bc15e0e8ded687716e0b895c54e742020 -
Trigger Event:
release
-
Statement type: