gempy icon indicating copy to clipboard operation
gempy copied to clipboard

[ENH] Adding `formation` column to surface points and orientations property

Open AlexanderJuestel opened this issue 2 months ago • 0 comments

Is your feature request related to a problem? Please describe. Viewing the property geo_model.surface_points_copy and geo_model.orientations_copy I noticed they only display the ID of the formations and the formations itself.

Describe the solution you'd like Using the property geo_model.structural_frame.element_id_name_map, we should map the formation name to the surface points and orientations frame.

Describe alternatives you've considered I could not change the DataFrame in place so I created a copy for now and solved my issue. I would have to dig deeper into the API of GemPy.

See also https://docs.gempy.org/tutorials/ch1_fundamentals/ch1_1_basics.html#reviewing-the-imported-data

AlexanderJuestel avatar Sep 28 '25 08:09 AlexanderJuestel