pybacktrack.create_lithology
- pybacktrack.create_lithology(lithology_name, lithologies)
Looks up a lithology using a name.
- Parameters:
lithology_name (str) – The name of the lithology to look up.
lithologies (dict) – A dictionary mapping lithology names to
pybacktrack.Lithologyobjects.
- Returns:
The lithology matching
lithology_name.- Return type:
- Raises:
KeyError – If
lithology_nameis not found inlithologies.