identify_context_profile

petrophys.reporting.identify_context_profile

identify_context_profile(
input_path,
*,
well_names=None,
pattern='*.las',
recursive=False,
)[source]

The context profile whose wells the input files (or well_names) are, else None.

input_path may be one LAS file or a directory; in a directory every selected file must belong to the same profile. None means the input is not one of the published deliveries.

Parameters:
Return type:

ContextProfile | None