Open mariosgeo opened 4 months ago
follow up. The .poly files are on the /tmp folder. Not the .node ones
It seems like instead of the command-line based tetgen the installed pacakge is a wrapper for connecting pyVista: https://pypi.org/project/tetgen/
We would have to change things to work with that. However, I am not sure about potential licensing issues as tetgen was always kind of restrictive.
Sorry for the late response. We could of course allow a keyword argument with a (e.g. local) filename taken instead of the default tmpfile as a workaround.
I get the same error message for the example script plot_05_refraction_3D.ipynb, but I am not using Colab. Is there a quick workaround we can do ourselves for this?
Here is my environment information: OS : Darwin (macOS 14.2.1) CPU(s) : 12 Machine : arm64 Architecture : 64bit RAM : 16.0 GiB Environment : Jupyter File system : apfs
Python 3.11.9 packaged by conda-forge pygimli : 1.5.0 pgcore : 1.5.0 numpy : 1.26.4 matplotlib : 3.7.3 scipy : 1.14.1 IPython : 8.26.0 pyvista : 0.44.1
you should be able to set the environment variable TMPDIR
to a place where you have writing rights
Problem description
/tmp mesh files are not found
Your environment
Please provide the output of
print(pygimli.Report())
here. If that does not work, please give provide some additional information on your:Operating system: e.g. Colab Python version: 3.10, pyGIMLi version: 1.5.1 Way of installation: pip.
Expected behavior
Make a mesh
Actual behavior
I think the tempfile directory is different in colab and local installs. Is there any flag we can save the tempfiles to e.g. googledrive install of /tmp?. The mesh is created when run locally.