gemgis.misc.load_symbols#

gemgis.misc.load_symbols(path: str) list#

Loading symbols for extraction of borehole data

Parameters

path (str) – Path to the file containing the symbols for extracting the borehole data, e.g. path='boreholes.txt'

Returns

symbols – List of tuples with symbols to be removed

Return type

list

New in version 1.0.x.

Example

>>> # Loading Libraries and File
>>> import gemgis as gg
>>> symbols = gg.misc.load_symbols(paths='symbols.txt')
>>> # Inspecting the symbols
>>> symbols
[('.m ', ''),
(', ', ''),
('; ', ''),
(': ', ''),
('/ ', ''),
('? ', ''),
('! ', ''),
('-"- ', ''),
('" ', ''),
('% ', ''),
('< ', ''),
('> ', ''),
('= ', ''),
('~ ', ''),
('_ ', ''),
('° ', ''),
("' ", '')]