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
Do you know where this issue is arising and why is it being filtered?
Simple reproducible form: (Python 3.12, Linux)
import xarray as xr
import numpy as np
from geocat.comp import *
t1 = np.array([80, 80, 60, 30])
rh1 = np.array([40, 75, 90, 50])
t = xr.DataArray(t1).chunk(3)
rh = xr.DataArray(rh1).chunk(3)
out = heat_index(t, rh)
print(out.values)
Output
/home/user/miniconda3/envs/geocat_comp_build/lib/python3.12/site-packages/dask/core.py:127: RuntimeWarning: invalid value encountered in sqrt
return func(*(_execute_task(a, cache) for a in args))
[79.79 83.5751104 59.965 30. ]
The text was updated successfully, but these errors were encountered:
What is your issue?
I am cleaning up some deprecation warnings on a repo and encountered:
dask/core.py:127: RuntimeWarning: invalid value encountered in sqrt
I believe the issue is arising within xarray, even though dask is triggering it. I noticed that in the xarray tests, the same warning is being filtered out to be ignored.
Do you know where this issue is arising and why is it being filtered?
Simple reproducible form: (Python 3.12, Linux)
Output
The text was updated successfully, but these errors were encountered: