Has anyone encountered a similar problem, or have an idea what could cause GMT to plot/interpret the latitude range this way? Any suggestions would be greatly appreciated.
For FORMAT_GEO_MAP="ddd.xxxF" (third panel), the y-annotations are wrong, as the zero directly after the comma is skipped and still only two digits after the comma are shown. When using FORMAT_GEO_MAP="ddd.xxxxF" (fourth panel), the y-annotations are correct, i.e., this zero is there and four digits after the comma are shown as expected.
its not 9.08 – 9.24, its 9.00805555556/9.02444444444
apparently its 9:00:29/9:01:28 converted to decimal degrees.
This notation, DDD:MM:SS, can be used instead if degrees-minutes-seconds is needed.
As Yvonne suggested, using “gmt set FORMAT_GEO_MAP ddd.xxxxF” resolves the issue, and everything is now being plotted correctly. It appears that the problem is related to GMT 6.6.0.
Update:** I have now upgraded to GMT 6.7.0 and tested the same case. Unfortunately, the problem still persists in GMT 6.7.0. The specified region is correctly read as -R38.7497222222/38.7661111111/9.00805555556/9.02444444444, but the latitude annotations are still displayed incorrectly.
I also tested with FORMAT_GEO_MAP=ddd.xxxxF, which gives the right coordinate, but without it the issue itself is still present.
Interestingly, the same GMT commands and projection work properly for other geographic regions. The problem appears to be specific to this particular region around 9° latitude. Thus, upgrading from GMT 6.6.0 to 6.7.0 does not resolve the issue in this case.
Thank you very much for identifying and fixing this issue. I understand that PR #9155 has already been merged.
May I ask whether this fix is expected to be included in the next stable GMT release? If so, is there an approximate timeframe for that release? I am currently using FORMAT_GEO_MAP=ddd.xxxxF as a workaround, but the four-decimal annotations are quite long and can extend around the frame of my figures. I would therefore be interested to know when I can expect the corrected behavior to be available in an official release.
Thank you again