You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not a modflow professional.
The assertion error "Size of vector must be 3 * nnodes or 3 * ncpl" is triggered when value.size != 3 * self.ncpl or value.size != 3 * self.nnodes. This assertion error is always triggered in most normal cases.
Expected behavior
To my understanding, nnodes =layer*ncpl. Should the condition "layer =1" be considered?
But I'm not clear on the intent behind this code, nor do we have test cases or example models using add_transient_vector() in context, maybe @jlarsen-usgs can come to the rescue
I'll have to look a little more into how and why I developed the vector a little more. It's been awhile.
My guess is that since the VTK file is in three dimensional space the associated vector would need to have three components. An example of this is Specific Discharge which has the components [qx, qy, qz].
Describe the bug
https://github.com/modflowpy/flopy/blob/develop/flopy/export/vtk.py#L969-L975
I am not a modflow professional.
The assertion error "Size of vector must be 3 * nnodes or 3 * ncpl" is triggered when value.size != 3 * self.ncpl or value.size != 3 * self.nnodes. This assertion error is always triggered in most normal cases.
Expected behavior
To my understanding, nnodes =layer*ncpl. Should the condition "layer =1" be considered?
The text was updated successfully, but these errors were encountered: