lithology_group_for_label

petrophys.interpretation.lithology.labels.lithology_group_for_label

lithology_group_for_label(label, known=None)[source]

The lithology group a rock name describes, or None.

The rock is the name’s main rock word: the last rock word of the name’s first part (before a comma, semicolon or “with”), so “shaly sandstone” and “Sandstone, calcareous” are sandstone and “argillaceous limestone” is limestone. Abbreviations (Sst, SH, LST, DOL, ANH, …) and a few phrases (“calcareous shale”, “lime mudstone”) are recognized. A name that joins different rocks (“sand/shale”, “sandstone and shale”) or names none is None, as is a group outside known when that is given.

Parameters:
Return type:

str | None