Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numpy Deprication (WWA Notebook) #78

Open
srcarter3 opened this issue Aug 24, 2022 · 0 comments
Open

Numpy Deprication (WWA Notebook) #78

srcarter3 opened this issue Aug 24, 2022 · 0 comments

Comments

@srcarter3
Copy link
Contributor

Section 7.2 of the WWA notebook is throwing the following warning:

/Users/scarter/opt/miniconda3/envs/python3-awips-latest/lib/python3.10/site-packages/numpy/core/fromnumeric.py:1859: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  return asanyarray(a).ravel(order=order)
/Users/scarter/opt/miniconda3/envs/python3-awips-latest/lib/python3.10/site-packages/numpy/core/fromnumeric.py:1859: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  return asanyarray(a).ravel(order=order)

Not entirely sure where this is coming from but I assume it might have to do with either line 49 and/or the for loop at line 54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant