elimh / stochastic-simulations-in-gempy

2 stars 0 forks source link

Importing the Topography #1

Open Ali1990dashti opened 4 years ago

Ali1990dashti commented 4 years ago

Hey @elimh

Firstly I appreciate your informative examples. I had a problem for importing the topography. I have added it where my example in jupyter notebook is made. I triled to do not set the path but it gives errors because it seems that path is an abligatory argument for saved topographies. I copied the file path but it resulted in the following errors: Unbenannt

I have also another question. Why did you set the compute_mesh in your model as False. It mean the model does not include mesh?

In advance I appreciate your help Regards, Ali

elimh commented 4 years ago

Hey Ali! This error is probably because you are using the latest version of gempy, which (I think) is not fully compatible with the version I used when creating these example notebooks. I have now added a note about this in the readme file, thanks a lot for pointing it out! A workaround for this issue would probably be to use geo_model.set_topography(source='random', resolution=np.array([80,80])) instead. Then you are generating a random topography for your model instead of loading the one from file.

Regarding your second question: If I remember correctly I did compute_mesh=False because I am not using the 3d visualization tools of gempy, so it is not necessary to compute the 3d surfaces.

Hope this helps! Regards, Elisa

Ali1990dashti commented 4 years ago

Hey,

I tried your solution and it worked nicely. Thank you for sharing that idea.

Cheers, Ali