Dear all,
I have the PyGMT 0.5.0 under conda enviorement over MS Windows10.
PyGMT information:
version: v0.5.0
System information:
python: 3.10.1 | packaged by conda-forge | (main, Dec 22 2021, 01:34:40) [MSC v.1929 64 bit (AMD64)]
executable: C:\Users\Director\anaconda3\envs\pygmt\python.exe
machine: Windows-10-10.0.19042-SP0
Dependency information:
numpy: 1.22.0
pandas: 1.3.5
xarray: 0.20.2
netCDF4: 1.5.8
packaging: 21.3
ghostscript: 9.54.0
gmt: 6.3.0
GMT library information:
binary dir: C:/Users/Director/anaconda3/envs/pygmt
cores: 8
grid layout: rows
library path: C:/Users/Director/anaconda3/envs/pygmt/Library/bin/gmt.dll
padding: 2
plugin dir: C:/Users/Director/anaconda3/envs/pygmt/Library/bin/gmt_plugins
share dir: C:/Users/Director/anaconda3/envs/pygmt/Library/share/gmt
version: 6.3.0
I downloaded the grid files (earth_relief_data) from the GMT mirror server. I tried to plot with the following script
cbba = [-67.0000, -64.3555, -18.2500, -16.5500]
grilla = r’D:\Inves\Pdoc\places\earth_relief_02m.grd’
dgrid = pygmt.grdgradient(grid=grilla, radiance=[290, 85])
pygmt.makecpt(cmap=“gray”, series=[-1.5, 0.2, 0.01])
fig.grdimage(grid=dgrid, projection=“M4i”, region=cbba,
cmap=True)
but I have the following error:
Traceback (most recent call last):
File "C:\Users\Director\AppData\Local\Temp/ipykernel_16424/1888249188.py", line 29, in <module>
fig.grdimage(grid=dgrid, projection="M4i", region=cbba,
File "C:\Users\Director\anaconda3\envs\pygmt\lib\site-packages\pygmt\helpers\decorators.py", line 586, in new_module
return module_func(*args, **kwargs)
File "C:\Users\Director\anaconda3\envs\pygmt\lib\site-packages\pygmt\helpers\decorators.py", line 726, in new_module
return module_func(*args, **kwargs)
File "C:\Users\Director\anaconda3\envs\pygmt\lib\site-packages\pygmt\src\grdimage.py", line 175, in grdimage
lib.call_module("grdimage", arg_str)
File "C:\Users\Director\anaconda3\envs\pygmt\lib\site-packages\pygmt\clib\session.py", line 496, in call_module
status = c_call_module(
OSError: exception: access violation reading 0x0000021A9298AB94
happens the same with all *grd data that I downloaded from GMT mirrors.
Does anyone have the same issues?
Stay safe and best regards
Tonino