Jose Borrero
2014-05-25 05:43:00 UTC
Hey All,
I have a netCDF grid that has latitudes at irregular intervals. So when I grid image it, i get the warning that it's using a constant step size. It makes a plot, but has the latitudes in the wrong place (see attached file, 40 south is not really below New Zealand!).
I tried grid2xyz thinking it would write out the exact (X,Y) values from the netCDF file (then re-grid), but those are written with constant spacing as well.
What can i do to deal with that within GMT? Am I missing something obvious?
Suppose I'd need to ncdump it to a formatted text file somehow, then re-grid in GMT. But not sure how to do that.
I can get the file to plot the right way in MATLAB, but I wanted to give the data the GMT 'look' that I love!
Thanks...
-jose
[cid:7BD3A846-5C9A-4E34-884A-***@telecom]
Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
I have a netCDF grid that has latitudes at irregular intervals. So when I grid image it, i get the warning that it's using a constant step size. It makes a plot, but has the latitudes in the wrong place (see attached file, 40 south is not really below New Zealand!).
I tried grid2xyz thinking it would write out the exact (X,Y) values from the netCDF file (then re-grid), but those are written with constant spacing as well.
What can i do to deal with that within GMT? Am I missing something obvious?
Suppose I'd need to ncdump it to a formatted text file somehow, then re-grid in GMT. But not sure how to do that.
I can get the file to plot the right way in MATLAB, but I wanted to give the data the GMT 'look' that I love!
Thanks...
-jose
[cid:7BD3A846-5C9A-4E34-884A-***@telecom]
Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.