resqpy.olio.wellspec_keywordsΒΆ

Module for loading WELLSPEC files.

The module includes a dictionary of nexus WELLSPEC column keywords, functionality to read WELLSPEC files and transform the well data into Pandas DataFrames.

Functions

add_unknown_keyword

Adds the keyword to the dictionary with attributes flagged as unknown.

check_value

Returns True if the value is acceptable for the keyword.

complaints

Returns the number of complaints (warnings) logged for the keyword.

default_value

Returns the default value for the keyword.

get_all_well_data

Creates a dataframe of all the well data for a given well name in the wellspec file.

get_well_data

Creates a dataframe of the well data for a given well name and at a specific time in the wellspec file.

get_well_pointers

Gets the file locations of each well in the wellspec file for optimised processing of the data.

increment_complaints

Increments the count of complaints (warnings) associated with the keyword.

known_keyword

Returns True if the keyword exists in the wellspec dictionary.

length_unit_conversion_applicable

Returns True if the keyword has a quantity class of length.

load_wellspecs

Reads the Nexus wellspec file returning a dictionary of well name to pandas dataframe.

required_out_list

Returns a list of keywords that are required.