-
Notifications
You must be signed in to change notification settings - Fork 287
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
Warning when importing Iris #3937
Comments
Hi @MHBalsmeier. This suggests an Iris installation from a branch/fork other than SciTools/iris |
I did not want to use conda for various reasons, and it took me very long until I finally managed to sucessfully install iris. I wrote down all the steps that got me there in a gist: https://gist.github.com/MHBalsmeier/a586426026aaee186edfbf1995018a2c I applied this on various Ubuntu 20 machines / VMs and it worked fine, now I had to install it on a Ubuntu 18 machine and the warning came. It still works, I only wonder why this warning shows up. |
Thanks for the detail @MHBalsmeier. From your description I'm at a loss to explain how this has happened, but here's the fix anyway: If you open
If you don't need to run any of Iris' test that require iris-test-data (I'm guessing so from your gist): If you do need to use iris-test-data: |
Thanks, this worked. You mentioned that |
I think so. My main uncertainty is how |
... of course for your use case the dependency management is handled anyway so I think you're safe to only use |
Okay, thanks, I'll try this next time. |
Hi,
the simple command
in python leads to
/home/ubuntu/.local/lib/python3.6/site-packages/iris/config.py:73: UserWarning: Ignoring config item 'Resources':'test_data_dir' (section:option) as '/home/h05/itwl/projects/git/iris-test-data/test_data' is not a valid directory path.
warnings.warn(msg.format(section, option, c_path))
What is this?
OS: Ubuntu 18.04
Python 3.6.9
The text was updated successfully, but these errors were encountered: