A suspected bug in pspolar (GMT5) and polar (GMT6)

Added by yu 12 months ago

Hi, everybody

Some of the stations can not be showed in the map by using pspolar (GMT5 and GMT6), but the station codes can be showed completely by using -T.
I find that if the data of the first showed station (example: at the third row of the station table) is assigned to the first row, then the stations can be showed completely by repeat the script.
I really want to know is this a bug or a setting due to some reasons. If someone knows why please tell me, that's will be very helpful.


Replies (5)

RE: A suspected bug in pspolar (GMT5) and polar (GMT6) - Added by Dongdong 12 months ago

Can you share your script and some example data, so that we can reproduce the possible bug?

RE: A suspected bug in pspolar (GMT5) and polar (GMT6) - Added by Paul 12 months ago

Remember, you should always ask yourself "will what I submit give the developers enough information to actually address my question?". All we were told is there may possibly be an issue with pspolar but there were no actual command line example and test data to demonstrate any problem, hence not much we can do yet.

RE: A suspected bug in pspolar (GMT5) and polar (GMT6) - Added by yu 12 months ago

Thanks for replying my question.
Sorry, the data and script should be given.
Please see the figure, the station 07 can not be showed in the left subplot by using the data from file user1_dep03.txt.
However, the station 07 can be showed in the right subplot by using user1_dep04.txt.
The difference between the two files is the sequence, please check the files.

test.rar (8.35 KB)

RE: A suspected bug in pspolar (GMT5) and polar (GMT6) - Added by Dongdong 12 months ago

It looks like a bug. I'll see if I can fix it in the next couple of days.

RE: A suspected bug in pspolar (GMT5) and polar (GMT6) - Added by Dongdong 5 months ago

Sorry for totally forgetting this issue. Now it's fixed in https://github.com/GenericMappingTools/gmt/pull/2461.

BTW, please open issues on GitHub (https://github.com/GenericMappingTools/gmt) so that issues can be easily tracked and never forgotten.
For general questions, please visit our new forum: https://forum.generic-mapping-tools.org/

(1-5/5)