You mean your data is on an (I,J) index grid?
In that case you could define corresponding lon/lat axes and grid and:
let dataxy = dataij[g=your_new_latlon_grid@asn]
@asn forces regridding without making any sanity checks, so make some
test plots to be sure everything is right (e.g. possible confusion
across the dateline or 0/360 longitude, do the new axes start/end
exactly where they should? etc).
BK
On 05 Feb 2011, at 7:06 AM, Juliette Harrington wrote:
Dear Ferreters,
I'm trying to change the axis values of ocean current data from the
generic "1-116" on the y-axis and "1-100" on the x-axis to latitude
and longitude values. Is there a way to change these values without
changing the way the data is displayed? Do I have to edit the data
itself? And if so, how can I do that on Ferret?
I tried setting the axis manually to "80S-80N" for example, but all
that did was force the data into the top right corner of the graph. I
am trying to overlay filled continents onto the data, but I am only
getting sections of the Northern Hemisphere displayed as the data
currently is. However, the data is world-wide, and there are blank
spots in the ocean data roughly representing the continents.
Thanks for your help.
Juliette Harrington
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
William S. Kessler
NOAA / Pacific Marine Environmental Laboratory
7600 Sand Point Way NE
Seattle WA 98115 USA
william.s.kessler@xxxxxxxx
Tel: 206-526-6221
Fax: 206-526-6744
Web: http://www.pmel.noaa.gov/people/kessler