geost.bro.bro_geotop.StratGeotop#
- class geost.bro.bro_geotop.StratGeotop[source]#
Class for making selections of stratigraphic units in GeoTop containing class attributes four main groups of stratigraphic units:
holocene : alias of
HoloceneUnitschannel : alias of
ChannelBeltUnitsolder : alias of
OlderUnitsantropogenic : alias of
AntropogenicUnits
Each of these class attributes is a
UnitEnumwhich contains abbreviation (e.g. “NAWA”) and corresponding number for geological units.Example usage#
Select a group of “tidal” units by name:
>>> tidal = StratGeotop.select_units(["NAWA", "ANAWA", "NAWO"])
Or select a group of values:
>>> selection = StratGeotop.select_values([1100, 6010, 6100])
- __init__()#
Methods
__init__()select_units(units)Select units by name.
select_values(values)Select units by value.
to_dict([key])Create a mapping dictionary from StratGeotop with "unit": "value" or "value": "unit" mapping.