Open
Description
🐛 Describe the bug
I am trying to read element_solid_history_variables
from my *.ptf files, but when I'm calling D3plot()
with state_array_filter
or state_filter
, I get get an error.
🔢 To Reproduce
- take any .ptf file (d3plot files seem to work)
- run the following script:
from lasso.dyna import D3plot, ArrayType, FilterType
res = D3plot('GM108.ptf', state_array_filter=[ArrayType.element_solid_history_variables])
- get this error message:
ValueError: could not broadcast input array from shape (522,5913,1,11) into shape (522,5913,1,5)
💘 Expected behavior
Function call works without throwing an error message.
🖥️ Setup
- lasso-python version: 2.0.2
- OS: Win11 x64, but also occurs on Linux.
ℹ️ Additional context
My current workaround is to call D3plot()
without arguments. I can then read out the array as expected, but the issue is that this doesn't work with the rest of my infrastructure, where I can only read a set of timesteps at a time.
Metadata
Metadata
Assignees
Labels
No labels