GenericMappingTools / GenericMappingTools/GMT.jl
Inconsistent default central meridian of projection in modern mode
- Dominant language
- Julia
- Stars
- 221
- Forks
- 36
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 17
Description
I have found that the central meridian is not set consistently when creating plots in modern mode:
Using an example grid file, e.g.
[gridfile.zip](https://github.com/GenericMappingTools/GMT.jl/files/7534977/gridfile.zip)
```
using GMT
gmtbegin("test_grdimage.png")
coast(
region = :g,
projection = :Robinson,
frame = :auto,
land = :dimgray,
shore = :thinner,
)
grdimage!(
"dir.2020.1.GeeK2007.6m.nc",
cmap = "cyclic",
nan_alpha = true,
)
gmtend(show = true)
```
produces:

It is fixed by `projection = (; name = :Robinson, center = 180)` for example. So probably `grdimage` is setting a different default value. Low-priority issue since there is an easy workaround. Only affects modern mode.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.