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

table/matrix error reading OP2 #806

Open
JulesHS1984 opened this issue Nov 5, 2024 · 1 comment
Open

table/matrix error reading OP2 #806

JulesHS1984 opened this issue Nov 5, 2024 · 1 comment

Comments

@JulesHS1984
Copy link

I get the following error when performing test_op2 in an op2 file and i am not able to skip reading that table and read the op2 file.

_p2_scalar.py", line 2226, in _read_tables
raise NotImplementedError(msg)
NotImplementedError: Invalid Table = b'OEF1XMC'

If you have matrices that you want to read, see:
model.set_additional_matrices_to_read(matrices)
matrices = {
b'BHH' : True,
b'KHH' : False,
} # you want to read some matrices, but not others
matrices = [b'BHH', b'KHH'] # assumes True

If you the table is a geom/result table, see:
model.set_additional_result_tables_to_read(methods_dict)
methods_dict = {
b'OUGV1' : [method3, method4],
b'GEOM4SX' : [method3, method4],
b'OES1X1' : False,
}

If you want to take control of the OP2 reader (mainly useful for obscure tables), see:
methods_dict = {
b'OUGV1' : [method],
}
model.set_additional_generalized_tables_to_read(methods_dict)_

thanks

@SteveDoyle2
Copy link
Owner

SteveDoyle2 commented Nov 7, 2024 via email

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

No branches or pull requests

2 participants