gemgis.misc.get_stratigraphic_data
gemgis.misc.get_stratigraphic_data#
- gemgis.misc.get_stratigraphic_data(text: list, symbols: List[Tuple[str, str]], formations: List[Tuple[str, str]]) list #
Function to retrieve the stratigraphic data from borehole logs
- Parameters
text (list) – String containing the borehole data
symbols (List[Tuple[str, str]]) – List of symbols to be removed from list of strings
formations (List[Tuple[str, str]]) – List of categorized formations
- Returns
data – List of extracted data values
- Return type
list
New in version 1.0.x.
Changed in version 1.1.7.
Fixed bug in parsing PDF.
Example
>>> # Loading Libraries and getting the stratigraphic data of borehole >>> import gemgis as gg >>> data = gg.misc.get_stratigraphic_data(text=text, symbols=symbols, formations=formations)
See also
load_pdf
Loading PDF data as string
get_meta_data
Getting the meta data of a well
get_meta_data_df
Getting the meta data of wells as DataFrame
get_stratigraphic_data_df
Getting the stratigraphic data of wells as DataFrame