gempy icon indicating copy to clipboard operation
gempy copied to clipboard

Gempy model export to numpy

Open WATCH0620 opened this issue 9 months ago • 1 comments

Hello, I would like to ask how to export the model generated by gempy to numpy.ndarray?

WATCH0620 avatar May 10 '24 07:05 WATCH0620

Hi, you can access the different ndarrays of the solution using: geo_data.solutions.raw_arrays

I guess the most important results would be the vertices of the grid and the corresponding solutions:

geo_data.solutions.raw_arrays.lith_block
geo_data.solutions.raw_arrays.vertices

javoha avatar May 11 '24 08:05 javoha

Hopefully resolved, feel free to reopen if issue persists.

javoha avatar May 16 '24 06:05 javoha