Skip to main content

a schedule parser for standard style input data files.

Project description

schedule_reader

A set of functions to read eclipse format DATA file and include files and extract well data from SCHEDULE section; like WELSPECS, COMPDAT, WCONHIST, WCONPROD or WLIST keywords.

Using the following functions, the corresponding keywords are recognized and the corresponding parameters names are set as columns labels:

  • DATES and TSTEP with dates2df (TSTEP are transformed into the corresponding datetime)
  • DATES bounds with get_start_date and get_end_date
  • WELSPECS with welspec2df
  • COMPDAT with compdat2df
  • WCONHIST with wconhist2df
  • WCONPROD with wconprod2df
  • WCONINJH with wconinjh2df
  • WCONINJE with wconinje2df
  • WLIST with wlist2df

These functions must be provided with the path to .DATA file or include file as argument.
Any other SCHEDULE section keyword can be extracted, but the columns will not be labelled, using the function keyword2df providing the path to the file and requested keyword as arguments.

Returns a DataFrame with the extracted data, associated to its respective date from DATES keyword.

Release 0.7.20 (2026-05-09)

  • Normalized dates2df() to always return a pandas DataFrame.
  • Normalized get_start_date() and get_end_date() to always return pandas.Timestamp (or None).

Release 0.7.19 (2026-05-09)

  • Added shape-based skip handling for ECHELON SCHEDULE keywords (COLORING, SOLVER, TSTEPCRIT, TUNINGDP, TUNING, EXPTSOLV).
  • Improved block keyword termination handling to respect slash-terminated records with inline comments.
  • Fixed TUNING parsing so all three records are captured correctly across continuation lines.

Release 0.7.17 (2026-05-09)

  • Fixed Python 3.7 compatibility in file path handling.
  • Fixed a TUNING keyword membership bug caused by a one-item tuple typo.
  • Declared the pandas dependency explicitly in package metadata.
  • Added Python 3.12, 3.13, and 3.14 classifiers.
  • Added a public get_end_date helper and documented the date helper API.

Release 0.7.16 (2026-05-03)

  • Fixed TSTEP date conversion to use cumulative increments.
  • Fixed parsing issues in WELSPECL and WELLSPEC records.
  • Improved robustness for SKIP blocks, EOF handling, and inline comment parsing.
  • Fixed COMPDAT/COMPDATL default I/J resolution and several keyword-table None guards.
  • Improved VFPINJ parsing initialization and general parser stability.

To install this package:

Install it from the pypi.org repository:
pip install schedule-reader
or upgrade to the latest version:
pip install --upgrade schedule-reader

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schedule_reader-0.7.20.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

schedule_reader-0.7.20-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file schedule_reader-0.7.20.tar.gz.

File metadata

  • Download URL: schedule_reader-0.7.20.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for schedule_reader-0.7.20.tar.gz
Algorithm Hash digest
SHA256 5da6947b229da87393eaf7a94f55b4445ec135f91efd6c471fbab1671f5ff741
MD5 33e5248215fb182ee230dd54a77e79fa
BLAKE2b-256 897780cc2f66cc55b1f2b0e0c11f3fc8921bdf167be6f7aee232594fc1e63dd8

See more details on using hashes here.

File details

Details for the file schedule_reader-0.7.20-py3-none-any.whl.

File metadata

File hashes

Hashes for schedule_reader-0.7.20-py3-none-any.whl
Algorithm Hash digest
SHA256 bf41ed85f50c4a710cde6e01a84e8be71ed716b4753258470c9f286705fd623c
MD5 bb9c364484bf16f87c9a042770ecadd4
BLAKE2b-256 6f160a119537a64d78b4df509b4731cd830306f96044a584900b7fb088fd168f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page