Feature Request? GridIntersect filter for Active Domain Cells #2040
-
I'm working with a model construction workflow where it would be great to have a builtin filter for active cells in the Gridintersect.intersect methods. This is, by means of an boolean switch argument be able to exclude from the intersection return inactive cells. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @javgs-bd, thanks for the suggestion. I think that would be a logical feature to add. I'll keep this in mind when I take a look at GridIntersect some time soon (I've been meaning to implement pandas DataFrames for the intersection results). As for another method, the way I've gone about it thus far, is that I usually end up creating arrays from the intersection results and then using the idomain array (>0) as a mask to update that array. |
Beta Was this translation helpful? Give feedback.
Hi @javgs-bd, thanks for the suggestion. I think that would be a logical feature to add. I'll keep this in mind when I take a look at GridIntersect some time soon (I've been meaning to implement pandas DataFrames for the intersection results).
As for another method, the way I've gone about it thus far, is that I usually end up creating arrays from the intersection results and then using the idomain array (>0) as a mask to update that array.