pybacktrack.read_lithologies_files
- pybacktrack.read_lithologies_files(lithologies_filenames)
Reads each lithologies text file in the sequence and merges their lithologies.
- Parameters:
lithologies_filenames (sequence of str) – Filenames of the lithologies text files.
- Returns:
Dictionary mapping lithology names to
pybacktrack.Lithologyobjects.- Return type:
dict
Notes
The four parameter columns in each lithologies text file should contain:
name
density
surface_porosity
porosity_decay
The order of filenames is important. If a lithology name exists in multiple files but has different definitions (values for density, surface porosity and porosity decay) then the definition in the last file containing the lithology name is used.
Added in version 1.2.