geost.base.LayeredData.get_cumulative_layer_thickness#

LayeredData.get_cumulative_layer_thickness(column: str, values: str | List[str])[source]#

Get the cumulative thickness of layers where a column contains a specified search value or values.

Parameters:
  • column (str) – Name of column that must contain the search value or values.

  • values (str | List[str]) – Search value or values in the column to find the cumulative thickness for.

Returns:

Borehole ids and cumulative thickness of selected layers.

Return type:

pd.DataFrame

Examples

Get the cumulative thickness of the layers with lithology “K” in the column “lith” use:

>>> boreholes.get_cumulative_layer_thickness("lith", "K")

Or get the cumulative thickness for multiple selection values. In this case, a Pandas DataFrame is returned with a column per selection value containing the cumulative thicknesses:

>>> boreholes.get_cumulative_layer_thickness("lith", ["K", "Z"])