load_lithology_csv¶
petrophys.interpretation.lithology.load_lithology_csv
- load_lithology_csv(filepath, top_col=None, bottom_col=None, lithology_col=None)[source]¶
Load lithology intervals from a CSV file.
Expected CSV format:
top,bottom,lithology 200.0,1500.0,clastic 1500.0,2200.0,carbonate 2200.0,3500.0,clastic
Column names are auto-detected (case-insensitive). Common variants are recognized: top/top_depth, bottom/bottom_depth/base, lithology/lith/rock_type.
- Parameters:
- Returns:
Sorted by top depth
- Return type: