geost.bro.bro_geotop.StratGeotop.select_units#

classmethod StratGeotop.select_units(units: str | Iterable[str])[source]#

Select units by name.

Parameters:

units (str | Iterable[str]) – Name as string or array_like object of strings with units to select.

Returns:

List of the selected units.

Return type:

List[enum]

Examples

Select units based on name:

>>> nawa = StratGeotop.select_units("NAWA")

Or select a group of “tidal” units:

>>> tidal = StratGeotop.select_units(["NAWA", "ANAWA", "NAWO"])