-
Notifications
You must be signed in to change notification settings - Fork 365
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
Can't plot data points out of the [-180, 180, -90, 90] range on geographic maps for external wrappers #8606
Comments
Yep. This works
but this, not
|
This is rather binary vs ascii issue than an externals.
|
The problem is that when Not easy to fix this. |
And is restricted to geogs. Cartesians work
|
Fixed by #8663 |
See https://forum.generic-mapping-tools.org/t/plotting-points-out-of-90-degree-range/5479 for the initial issue report.
To reproduce the issue:
The error
plot [WARNING]: Latitude (110) at line # 1 exceeds -|+ 90! - set to NaN
comes from thegmtlib_process_binary_input
function.gmt/src/gmt_io.c
Line 4839 in 65e0917
The equivalent CLI version works as expected. The reason is that, for GMT CLI,
gmtio_ascii_input
is called to read the data points, but for external wrappers, data are passed in binary buffers, so thegmtio_bin_input
is called instead.I guess the same issue exists for GMT.jl, so it should be declared as a GMT bug.
The text was updated successfully, but these errors were encountered: