Skip to content

[ENH] Improve Error Handling when formation names are not identical #904

Description

@AlexanderJuestel

Is your feature request related to a problem? Please describe.
I was working with a very small dataset and got a very cryptic error message when executing gp.create_geomodel(..).

My mistake was that I had misspelled a formation name in the orientations file (German, English) which could not be found in the name_id_map of the surface points. The only error I get back is a KeyError with the name of the misspelled formation.

Describe the solution you'd like
A little helper function that checks if the formation names are identical in both the orientation file and the surface points file and returns a useful error message.

Describe alternatives you've considered
Fixing the spelling mistake

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions