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

Resolve runtime warning: invalid value encountered in cast #5533

Open
Tracked by #5466
ESadek-MO opened this issue Oct 5, 2023 · 0 comments
Open
Tracked by #5466

Resolve runtime warning: invalid value encountered in cast #5533

ESadek-MO opened this issue Oct 5, 2023 · 0 comments

Comments

@ESadek-MO
Copy link
Contributor

📰 Custom Issue

Written up from #5465.

lib/iris/tests/unit/analysis/test_MAX_RUN.py: 38 warnings
  /home/h05/achamber/.conda/envs/iris-dev/lib/python3.11/site-packages/numpy/core/numeric.py:407: RuntimeWarning: invalid value encountered in cast
    multiarray.copyto(res, fill_value, casting='unsafe')

lib/iris/tests/unit/analysis/regrid/test_RectilinearRegridder.py::Test__regrid__extrapolation_modes::test_method_result_types
  /net/home/h05/achamber/git/iris/lib/iris/analysis/_regrid.py:836: RuntimeWarning: invalid value encountered in cast
    data[tuple(index)] = interpolate(src_subset)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant