Deprecation warnings from numpy
perrygeo opened this issue · 0 comments
perrygeo commented
$ python -m pytest
tests/test_point.py::test_point_query_nodata
/home/mperry/projects/python-rasterstats/src/rasterstats/point.py:186: DeprecationWarning: np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead
vals.append(asscalar(val))
tests/test_point.py::test_point_query_nodata
/home/mperry/projects/python-rasterstats/src/rasterstats/point.py:60: DeprecationWarning: np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead
return asscalar(val)