Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about the use of toughio-extract out MESH #172

Open
oklolo opened this issue Sep 5, 2024 · 1 comment
Open

Questions about the use of toughio-extract out MESH #172

oklolo opened this issue Sep 5, 2024 · 1 comment

Comments

@oklolo
Copy link

oklolo commented Sep 5, 2024

I am quite new to TOUGH2 and have been attempting to run Problem No. 7 (r2dl) - NAPL Spill in the Unsaturated Zone. However, I encountered an error while using the toughio-extract out MESH command to convert the file format. The error message is as follows:

D:\Sci\tough_example\part3>toughio-extract.exe out MESH
Traceback (most recent call last):
File "D:\App\anaconda3\envs\statis\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\App\anaconda3\envs\statis\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\Nancy\AppData\Roaming\Python\Python39\Scripts\toughio-extract.exe_main
.py", line 7, in
File "C:\Users\Nancy\AppData\Roaming\Python\Python39\site-packages\toughio_cli_extract.py", line 48, in extract
[parameters["elements"][label]["center"] for label in output[-1].labels]
AttributeError: 'dict' object has no attribute 'labels'

These are my input files:
MESH.txt
out.txt
I would greatly appreciate any assistance in resolving this issue.

@geowomen
Copy link

Hi i download your files and it works for me :
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants