You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Figure.grdcontour crashes for GMT dev (the upcoming v6.2.0) #1177
The script works for GMT 6.1.1, but gives a lot of warnings and crashes for GMT 6.2.0:
...
grdcontour [WARNING]: Latitude (2960.5) at line # 178 exceeds -|+ 90! - set to NaN
grdcontour [WARNING]: Latitude (3141.5) at line # 179 exceeds -|+ 90! - set to NaN
grdcontour [WARNING]: Latitude (3072.5) at line # 180 exceeds -|+ 90! - set to NaN
grdcontour [WARNING]: Latitude (2862) at line # 181 exceeds -|+ 90! - set to NaN
[1] 29831 segmentation fault python test.py
Thanks, looking forward to Xcode session tomorrow. The messages are coming form table i/o code despite this being a grid module... wonder how that can happen.
So the virtual file says it is a DATASET passed as a MATRIX, not a GRID passed as a MATRIX. Could you possibly tell me how the virtual file was created, i.e., how GMT_Create_Data and GMT_Put_Matrix was called? Is it different than the grdview case eariler, since in that case it was a GRID as MATRIX.
Activity
seisman commentedon Apr 5, 2021
@PaulWessel This seems like another GMT bug.
[-]Figure.grdcontour crashes for GMT 6.2.0[/-][+]Figure.grdcontour crashes for GMT dev (the upcoming v6.2.0)[/+]PaulWessel commentedon Apr 5, 2021
OK, will tackle tomorrow morning.
PaulWessel commentedon Apr 5, 2021
COuld you please post contours.txt
weiji14 commentedon Apr 5, 2021
Here you go Paul:
pygmt/pygmt/tests/data/contours.txt
Lines 1 to 10 in 8e2b2e6
PaulWessel commentedon Apr 5, 2021
Thanks, looking forward to Xcode session tomorrow. The messages are coming form table i/o code despite this being a grid module... wonder how that can happen.
PaulWessel commentedon Apr 5, 2021
So the virtual file says it is a DATASET passed as a MATRIX, not a GRID passed as a MATRIX. Could you possibly tell me how the virtual file was created, i.e., how GMT_Create_Data and GMT_Put_Matrix was called? Is it different than the grdview case eariler, since in that case it was a GRID as MATRIX.
seisman commentedon Apr 5, 2021
I believe the virtual file is created in the same way,
Arguments for
GMT_Create_Data:Arguments for
GMT_Open_VirtualFile:seisman commentedon Apr 6, 2021
The issue has been fixed by GenericMappingTools/gmt#5100.