A python package for pteroleum computation
Project description
petroPython
v1.0.0
A python package created by Ahmed alkhatim for petroleum computations with two sub modules for
- Reservoir
- Production
Beside :
- Oilfied Module: for gitting general and quick information about oilfield data
Installation
pip install petroPython
How it works
import petroPython as ptr
Initializing an Oil Field module
field = ptr.OilField("path_to_file")
The
OilFieldmodule instantiate an OilField class and thenan_oil_fieldvariable can access all the API of ofOilFieldsuch as:
- field.wells
- field.number_of_wells
- field.n_production_wells
- field.injection_wells
- field.n_injection_wells
- field.converted_wells
- as well as quick_view() method that give a quick view about your field
Exapmle
for Volve dataset the output will be
volve = ptr.OilField(file)
volve.number_of_wells # 7
volve.production_wells
# array(['15/9-F-1 C', '15/9-F-11', '15/9-F-12', '15/9-F-14', '15/9-F-15 D', '15/9-F-5'], dtype=object)
volve.n_production_wells # 6
volve.injection_wells
# array(['15/9-F-4', '15/9-F-5'], dtype=object)
volve.n_injection_wells # 2
volve.converted_wells
# ['15/9-F-5']
volve.quick_view()
# number_of_wells : 7 number_of_columns : 18 number_of_records: 15634
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
petro-python-1.0.0.tar.gz
(4.8 kB
view details)
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 petro-python-1.0.0.tar.gz.
File metadata
- Download URL: petro-python-1.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dfdff7e5c3cf61d61bb1d2bf012b6e29229bdb72cbd5e4b8488ed0409d0fb91
|
|
| MD5 |
f889a2449ea32fb7b333659fb92ffe1a
|
|
| BLAKE2b-256 |
a1fec3a7113f39993c0262017f3f44f3a3a89c845ee5014ba3bfd6f655138df4
|
File details
Details for the file petro_python-1.0.0-py3-none-any.whl.
File metadata
- Download URL: petro_python-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4831d3c5387c2e5afaccc90a04fcca0725bb01516d4a74b8b2b6cea9dd14c527
|
|
| MD5 |
715ad932f71f3bd06cd7594df9caf7e4
|
|
| BLAKE2b-256 |
c6eb05124301bc02c667e900050799db7530d21edb3a9c8c99f3d2968c3ba72b
|