geost.base.LayeredData.get_layer_top#
- LayeredData.get_layer_top(column: str, values: str | List[str])[source]#
Find the depth at which a specified layer first occurs.
- Parameters:
column (str) – Name of column that contains categorical data.
values (str | List[str]) – Value or values of entries in the column that you want to find top of.
- Returns:
Borehole ids and top levels of selected layers in meters below the surface.
- Return type:
pd.DataFrame
Examples
Get the top depth of layers in boreholes where the lithology in the “lith” column is sand (“Z”):
>>> boreholes.get_layer_top("lith", "Z")