I am trying to use grdimage to create a geotiff from a netcdf bathymetry file. The problem I’m having is that grdimage is reprojecting the output geotiff. I set the projection with -J and that has fixed the latitudes but has centered the longitudes around 0.
Thanks for your reply, Joaquim. I added the -J flag because without it I was also having problems. Without adding -J option I am looking at the coordinates with gdalinfo:
I use the GeoTIFF output from both GMT and PyGMT (recently in the developer version) all the time. In GMT, I don’t do it directly from the grdimage program with -A but do a regular EPS output and then run gmt psconvert -A -P -Tt -W+g $mapOut after completing the plot. This works well, even plots with different map projections.