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
404 error downloading ne_h_coastline.zip #1294
Comments
So the error occurs because it's trying to download this link, which doesn't work: http://naciscdn.org/naturalearth/h/physical/ne_h_coastline.zip The question is...why? Aha! I think it's this line: display.plot_ppi_map('reflectivity', 0, resolution = 'h', #The "0" is the lowest PPI scan, increasing this number increases the scanning elevation
vmin=-10, vmax=64, colorbar_flag = False, fig = fig, ax=ax,alpha = .08, projection = crs) Notice the use of |
It'd probably be nice of them to try to check and issue a more useful error, but that's up to them. Wouldn't hurt to open an issue there to let them know. I wonder if we should be whitelisting the resolutions here, at least in |
So, the question is where to check:
Thoughts anyone? @pelson? |
Unfortunately something seems to be wrong at NaturalEarth: |
Just coming to write that same thing. It appears that naciscdn.org is offline right now: https://downforeveryoneorjustme.com/naciscdn.org |
Is there a mirror where one can grab these images? |
I couldn't find one. I've just switched to GSHHS: |
You can grab it from their GitHub, though unfortunately due to nvkelso/natural-earth-vector#279 it's not entirely consistent with what's on the site. On Fedora, you can also install one of the natural-earth-map-data packages. |
It appears that naciscdn.org has come back up, which should resolve this issue. |
Back down for me... EDIT:
Is there a way to download the data from GitHub from within Cartopy? |
Is there an action item for Cartopy here? Better error/failure messages? Otherwise, there isn't a whole lot we can do when external websites go down. |
External websites aside, the actual bug here is that we need to be more stringent about what's accepted for scale (because |
I have recently been getting "HTTPError: HTTP Error 404: Not Found" errors when trying to use Cartopy. Even when I comment out the add features lines I am still getting this issue, so maybe it is caused by some of the other packages. I have clicked on the link and you do get the 404 message, however I am not sure where in my code I am still getting this issue if I comment out the add coastlines.
OS: CentOS 7
Some of the main packages in the environment:
Cartopy: 0.17.0 py36h0aa2c8f_1004 conda-forge
Python: 3.6.7 h381d211_1004 conda-forge
Satpy: 0.13.0 pyh326bf55_0 conda-forge
arm_pyart : 1.9.2 py36_0 conda-forge
metpy : 0.10.0 py36_1001 conda-forge
Conda info:
active environment : sats
active env location : /export/home/mbrewer/anaconda3/envs/sats
shell level : 2
user config file : /export/home/mbrewer/.condarc
populated config files : /export/home/mbrewer/.condarc
conda version : 4.6.11
conda-build version : 3.17.6
python version : 3.7.1.final.0
base environment : /export/home/mbrewer/anaconda3 (writable)
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/linux-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /export/home/mbrewer/anaconda3/pkgs
/export/home/mbrewer/.conda/pkgs
envs directories : /export/home/mbrewer/anaconda3/envs
/export/home/mbrewer/.conda/envs
platform : linux-64
user-agent : conda/4.6.11 requests/2.21.0 CPython/3.7.1 Linux/3.10.0-957.5.1.el7.x86_64 centos/7.6.1810 glibc/2.17
UID:GID : 789585339:1341200513
netrc file : None
offline mode : False
Code to reproduce
Traceback
Full environment definition
Operating system
Cartopy version
conda list
pip list
The text was updated successfully, but these errors were encountered: