Skip to content

VTK export issue when reading into ParaView #1070

@ghost

Description

Hello, I am using Flopy version 3.3.4 and found an issue when trying to view exported .vtu files in ParaView. I consistently got this error: Cannot read cell data from Cells. Offsets and connectivity arrays must be the same type.

I fixed it on my end by changing line 808 in vtk.py to offsets = np.empty((iverts.shape[0]), np.int64)

There is probably a good reason to keep them as different data types and that the problem was on my end with importing to ParaView, but in the chance that it is a bug, it's a simple fix. Thanks!

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions