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

Unable to load some of the D3plot due to Invalid header entry ndim #52

Open
mystic-comets opened this issue Mar 7, 2024 · 6 comments
Open

Comments

@mystic-comets
Copy link

mystic-comets commented Mar 7, 2024

Raise RuntimeError(f"Invalid header entry ndim: {self.raw_header['ndim']}")
RuntimeError: Invalid header entry ndim: 7653631721478

@ballaln
Copy link
Contributor

ballaln commented Mar 7, 2024

Could you give a bit more information about in which line the issue was raised, and what you mean by 'some' of the D3plot? Anything that could help reproduce the issue. I use the library regularly and haven't found any similar issues, so these would help.

@mystic-comets
Copy link
Author

mystic-comets commented Mar 8, 2024

Run2.zip
i want to extract data above d3plot file. but it shows run time error

@codie3611
Copy link
Contributor

Thanks for providing a file, that is great. I unfortunately won't be able to attend this issue soon. So either stay patient, try to fix it yourself or someone else here can jump in.

@mystic-comets
Copy link
Author

image
it unable to convert binary format to ascii format so it shows error for ndim (values are high),

@ballaln
Copy link
Contributor

ballaln commented Mar 12, 2024

You might be right. It appears that there might be a conversion error occurring within the '_read_file_buffer' function. According to both the LS-DYNA documentation and the Lasso code snippet, the variable 'ndim' should hold a value of either 2 or 3, depending on the dimensionality of the data. In this specific case, it should have been 3. I am not sure if I could help you out on this.

image

@mystic-comets
Copy link
Author

I attempted to view the data in LS-PrePost and HyperView, where it successfully opened and I could access the data. However, I encountered an issue with the Lasso library as I couldn't extract the data from it. Can you assist in resolving this problem?

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

3 participants