Load grid in order to flip coordinates

From the docs (grdedit):

The grid bad.nc has latitude as x-coordinates an longitude as y-coordinates. We can exchange the two dimension by running:

gmt grdedit bad.nc -Ee -Gnew.nc

1 Like