Skip to content

bug: intersect method of gridintersect class not working #2603

@aestrad-intera

Description

@aestrad-intera

I am trying to determine which model cells in a single layer intesect a single multi-polygon geometry object. This is my code:

from flopy.utils import GridIntersect
ix = GridIntersect(mg, method='structured')
intersects = ix.intersect(extent.geometry[0])

It's been hours and this is still running for a fairly small, single-layer structured grid. What is wrong with the method? Why is it sooo slow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreproIssue needs a minimal reproduction or a model to be shared

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions