welltest_pta.WellTestParser

class welltest_pta.WellTestParser[source]

Bases: object

Stateful parser that exposes detected metadata and column mapping after a successful .parse(...) call.

Parameters:
__init__(p_range=P_RANGE_DEFAULT, t_range=T_RANGE_DEFAULT, year_range=YEAR_RANGE_DEFAULT)[source]
Parameters:
Return type:

None

Methods

__init__([p_range, t_range, year_range])

parse(filepath)

Parse the ASCII file and return a clean DataFrame.

__init__(p_range=P_RANGE_DEFAULT, t_range=T_RANGE_DEFAULT, year_range=YEAR_RANGE_DEFAULT)[source]
Parameters:
Return type:

None

parse(filepath)[source]

Parse the ASCII file and return a clean DataFrame.

Parameters:

filepath (str | Path)

Return type:

DataFrame