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
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