Skip to content

Latest commit

 

History

History
66 lines (48 loc) · 1.01 KB

index.rst

File metadata and controls

66 lines (48 loc) · 1.01 KB

resfo: Low level IO for res files

example_usage the_file_format error_handling developer_guide api_doc

Quick Start Guide

pip install resfo

Using the library

>>> import resfo >>> >>> resfo.write( ... "my_grid.egrid", ... [ ... ("FILEHEAD", []), ... ("GRIDHEAD", []), ... ("COORD", []), ... ("ZCORN", []), ... ("ACTNUM", []), ... ("MAPAXES", []), ... ], ... fileformat=resfo.Format.FORMATTED, ... )

>>> import resfo >>> for kw, arr in resfo.read("my_grid.egrid"): ... print(kw.strip()) FILEHEAD GRIDHEAD COORD ZCORN ACTNUM MAPAXES

For more see example-usage.

Indices and tables

  • genindex
  • modindex
  • search