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

grdcut [ERROR]: Remote download is currently deactivated #3063

Closed
duffy6 opened this issue Feb 23, 2024 · 3 comments
Closed

grdcut [ERROR]: Remote download is currently deactivated #3063

duffy6 opened this issue Feb 23, 2024 · 3 comments

Comments

@duffy6
Copy link

duffy6 commented Feb 23, 2024

Description of the problem

Hi guys,

I am running PyGMT on Linux, but also tried it on Windows with the same behavior:

When I try this code shown below I get the the message

import pygmt
grid = pygmt.datasets.load_earth_relief(resolution="01d", region=[-14, 30, 35, 60])
fig = pygmt.Figure()
fig.grdimage(grid=grid, projection="M15c", frame="a", cmap="geo")
fig.colorbar(frame=["a1000", "x+lElevation", "y+lm"])
fig.show()

fig.savefig("_meine_Karte.png")

grdcut [ERROR]: Remote download is currently deactivated

Can I activate the download somewhere

Minimal Complete Verifiable Example

import pygmt
grid = pygmt.datasets.load_earth_relief(resolution="01d", region=[-14, 30, 35, 60])
fig = pygmt.Figure()
fig.grdimage(grid=grid, projection="M15c", frame="a", cmap="geo")
fig.colorbar(frame=["a1000", "x+lElevation", "y+lm"])
fig.show()

fig.savefig("_meine_Karte.png")

Full error message

grdcut [ERROR]: Remote download is currently deactivated

System information

PyGMT information:
  version: v0.11.0
System information:
  python: 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:50:58) [GCC 12.3.0]
  executable: /home/pi/miniforge3/envs/pygmt/bin/python
  machine: Linux-5.15.0-97-generic-x86_64-with-glibc2.35
Dependency information:
  numpy: 1.26.4
  pandas: 2.2.0
  xarray: 2024.2.0
  netCDF4: 1.6.5
  packaging: 23.2
  contextily: None
  geopandas: None
  ipython: None
  rioxarray: None
  ghostscript: 10.02.1
GMT library information:
  binary version: 6.5.0
  cores: 1
  grid layout: rows
  image layout:
  library path: /home/pi/miniforge3/envs/pygmt/lib/libgmt.so
  padding: 2
  plugin dir: /home/pi/miniforge3/envs/pygmt/lib/gmt/plugins
  share dir: /home/pi/miniforge3/envs/pygmt/share/gmt
  version: 6.5.0
@duffy6 duffy6 added the bug Something isn't working label Feb 23, 2024
Copy link

welcome bot commented Feb 23, 2024

👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our contributing guidelines and code of conduct.

@yvonnefroehlich
Copy link
Member

@duffy6, thanks for your report on this issue. I also faced it under Windows and Linux on Friday. But now downloading the remote datasets works for me again. So, can you please try it again and report if it also works for you? Then we can close this issue.

@duffy6
Copy link
Author

duffy6 commented Feb 24, 2024

It‘s working again!
Thank you folks!

@duffy6 duffy6 closed this as completed Feb 24, 2024
@seisman seisman removed the bug Something isn't working label Feb 24, 2024
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

3 participants