Error when using PrismMesh.carvetopo because of matplotlib.mlab.griddata #146
Comments
I was using |
Copying text by @hbueno from #147 here: @leouieda I'm opening this issue to "discuss" about some dependencies of Fatiando. To be sincere I don't know if it's the case to open another issue or not, but I'm trying to be more organized (and you always can close it!). As I pointed in this issue #146, I was using Two "possible" solutions I've found:
I chose (1) to be easily done with conda and because I don't know another alternative. Anyway, let's suppose this is right, I think we should change the list of Fatiando dependencies. For example, where is |
The problem seems to be that matplotlib no longer ships natgrid with it. I don't know why this only happens in MacOS (I'm using on Ubuntu and it works fine). Since the problem is the Fixing would be a simple case of replacing all calls to @hbueno, do you want to try to fix this? |
Sure, I can try. |
#148 fixed this. |
The topography/relief defined to mask (remove) prisms from the mesh need to be interpolated. The
mesher.carvetopo
use by default the Natural Neighbor interpolation inmatplotlib.mlab.griddata
. However, when I try to run, for example, the cookbookmesher_prismmesh_topo.py
, a RuntimeError suggests to intallnatgrid
or change the interpolation method to linear.I've installed Fatiando with conda as well as all the dependencies and passed in all tests.
The text was updated successfully, but these errors were encountered: