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

Issue with forecast.plot(): urlopen error [Errno -3] #141

Closed
khawajasim opened this issue Oct 5, 2021 · 7 comments
Closed

Issue with forecast.plot(): urlopen error [Errno -3] #141

khawajasim opened this issue Oct 5, 2021 · 7 comments

Comments

@khawajasim
Copy link
Contributor

Hi,

I was plotting forecasts, which was working fine until recently. But for some time it is giving this error.

URLError: <urlopen error [Errno -3] Temporary failure in name resolution>.

This is I guess due to not working of this link:
https://naciscdn.org/naturalearth/110m/physical/ne_110m_coastline.zip

Can you plot some forecast and confirm whether there is error or I am not doing it right.

Kind Regards

@wsavran
Copy link
Collaborator

wsavran commented Oct 5, 2021

sure i can look into this more. i tried to go to that link and it looks like its offline, so i think that is what is causing your error. we should add error handling for this case. thanks for pointing this out.

@wsavran
Copy link
Collaborator

wsavran commented Oct 5, 2021

this issue appears to be fixed with newer versions of cartopy. try running
conda update cartopy
and rerunning the script. in general, its good practice to update your conda packages regularly.

@wsavran
Copy link
Collaborator

wsavran commented Oct 5, 2021

adding some additional information here: from this conversation: SciTools/cartopy#1879

tl;dr. the new version of cartopy 0.2.0 requires proj8 which does not have a package available on apt for debian linux systems. this can be problematic for our CI tools. i'm going to leave this open for now and update when the > proj8.0.0 gets released on the stable branch of aptitude package manager.

@wsavran
Copy link
Collaborator

wsavran commented Oct 7, 2021

@khawajasim did updating cartopy in conda work for you?

@khawajasim
Copy link
Contributor Author

It worked for office PC. But it did not yet work at my personal laptop. However, I did not look in detail there. I shall look in detail there and see what is the issue.

@wsavran
Copy link
Collaborator

wsavran commented Oct 7, 2021

thats great! do you mind closing this issue when you are happy that it works? one thing to check is that if you didn't install the environment using conda you might run into issues with a dependency for proj8 with the new version of cartopy.

@khawajasim
Copy link
Contributor Author

khawajasim commented Oct 8, 2021

I have been using conda for my work. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants