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
Yeah, I agree we shouldn't do this because, at the least, our users will still see it. From some DMs, I actually think this is an unintended behavior "bug" and I'm looking into it currently.
In short, in heat_index, we apply some adjustments to the values depending on the value of a couple other variables. The adjustment itself should never attempt to square root a negative, but the function (xr.where), calculates all the adjustments and then applies them where the filter passes instead of finding where the filter passes and then calculating the adjustment. If that makes sense?
We're doing this partially because of dask compatibility and partially because it's the cleanest way to accept n-dimensional data of numpy/list/xarray types.
We could theoretically filter the warnings here, but it bothers me that we're doing a bunch of unnecessary calculations.
Pulling out of #582
Originally posted by @anissa111 in #582 (comment)
The text was updated successfully, but these errors were encountered: