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

Read and show connections #167

Open
plussss190 opened this issue Apr 30, 2024 · 0 comments
Open

Read and show connections #167

plussss190 opened this issue Apr 30, 2024 · 0 comments

Comments

@plussss190
Copy link

I am trying to extract data related to connections from output file of TOUGH2.0/PetraSim.
And after that I want to visualize these data as vector in ParaView.
I don't know if I can do it with toughio, or is there any better way?

File:
Sensitivity.txt
(I change extension as .txt for upload)

Command:
toughio-extract -c Sensitivity.out MESH

Error code:
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in run_code
File "C:\Users\Tsukiite\AppData\Roaming\Python\Python38\Scripts\toughio-extract.exe_main
.py", line 7, in
File "C:\Users\Tsukiite\AppData\Roaming\Python\Python38\site-packages\toughio_cli_extract.py", line 43, in extract
output = read_output(args.infile, connection=args.connection)
File "C:\Users\Tsukiite\AppData\Roaming\Python\Python38\site-packages\toughio_io\output_helpers.py", line 96, in read
return _reader_map[file_format](filename, file_type, labels_order)
File "C:\Users\Tsukiite\AppData\Roaming\Python\Python38\site-packages\toughio_io\output\tough_tough.py", line 34, in read
headers, times, variables = _read_table(f, file_type)
File "C:\Users\Tsukiite\AppData\Roaming\Python\Python38\site-packages\toughio_io\output\tough_tough.py", line 115, in _read_table
line.strip()[0]
IndexError: string index out of range

@plussss190 plussss190 changed the title Read and show Read and show connections Apr 30, 2024
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

1 participant