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
gwf.modelgrid.intersect() generates the warning below, despite the correct syntax. Is this intentional? (I'd hate to "fix" it if it ain't broken) It wouldn't be a big deal except I am calling it from a lambda function in a large dataframe and it blows all other information off the screen!!
structuredgrid.py:777: UserWarning: The interface 'intersect(self, x, y, local=False, forgive=False)' has been deprecated. Use the intersect(self, x, y, z=None, local=False, forgive=False) interface instead.
The text was updated successfully, but these errors were encountered:
The warning is intentional to make users aware of the interface change. I'm planning on updating this to either throw an error if the interface is called incorrectly, or only warn the first time it is called.
I'll put in a PR to change this behavior. For the time being, you can supress those messages by adding a warnings filter to the top of your script, like so.
gwf.modelgrid.intersect() generates the warning below, despite the correct syntax. Is this intentional? (I'd hate to "fix" it if it ain't broken) It wouldn't be a big deal except I am calling it from a lambda function in a large dataframe and it blows all other information off the screen!!
structuredgrid.py:777: UserWarning: The interface 'intersect(self, x, y, local=False, forgive=False)' has been deprecated. Use the intersect(self, x, y, z=None, local=False, forgive=False) interface instead.
The text was updated successfully, but these errors were encountered: