geost.bro.bro_geotop.StratGeotop.to_dict#

classmethod StratGeotop.to_dict(key: Literal['unit', 'value'] = 'value') dict[source]#

Create a mapping dictionary from StratGeotop with “unit”: “value” or “value”: “unit” mapping.

Parameters:

key (Literal["unit", "value"], optional) – Determine what to use for “key” (“unit” or “value”). The default is “value”.

Return type:

dict