petrelpy.cli¶
Command line tool for working with Petrel input and output formats.
Functions¶
|
Command line tool for working with Petrel input and output formats. |
|
Convert IHS production spreadsheet to Petrel vol format. |
|
Process well connection file to average geomodel properties. |
|
Create petrel perforation file. |
|
Process GSLIB geocellular model file to spreadsheet. |
Module Contents¶
- petrelpy.cli.cli()¶
Command line tool for working with Petrel input and output formats.
- petrelpy.cli.production(input: click.Path, output: click.Path, yearly: bool, zip: bool)¶
Convert IHS production spreadsheet to Petrel vol format.
This allows production to be easily imported into Petrel.
- petrelpy.cli.connection(input: click.Path, output: click.Path, heel: click.Path)¶
Process well connection file to average geomodel properties.
This gets well properties from Petrel (in an Eclipse format) into a spreadsheet.
- petrelpy.cli.perforation(input: tuple[click.Path], output: click.Path, header: str, date_col: str, sheetname: str | int)¶
Create petrel perforation file.
Takes csv, excel, or prn files as input. Expected columns include: API, Treatment Start Date, start_depth, stop_depth
Produces .ev (default) or .prn file