.conda\envs\niche\Lib\site-packages\rasterstats\io.py:200: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of -99 to uint8 will fail in the future.
For the old behavior, usually:
np.array(value).astype(dtype)`
will give the desired result (the cast overflows).
out[:] = nodata
Niche Python Package question
New warning while running a niche validation.