[Thread Prev][Thread Next][Index]

Re: [ferret_users] Axes label unit definition



 Hi Szymon-
For curvilinear grids, Ferret labels the plot axes using the units of the curvilinear coordinate variables, Lon and Lat.  So after you set up to read the data,

set var/units=longitude_e lon
set var/units=latitude_n lat

The axes x and y are just abstract axes; their units are not longitude and latitude, just an index value.

Ansley

On 10/11/2010 7:40 AM, Szymon Roziewski wrote:
hello,
I'm thinking how I can define the unit of axes which values I get from a file.
DEFINE AXIS/x=1:448:1/unit=degree xaxis
DEFINE AXIS/y=1:615:1/unit=degree yaxis
DEFINE GRID/x=xaxis/y=yaxis gridlonlat
FILE/VARIABLES=lon/COLUMNS=448/GRID=gridlonlat "/home/szymon/WAM/CHECK/umlonicm448x615.dat"
FILE/VARIABLES=lat/COLUMNS=448/GRID=gridlonlat "/home/szymon/WAM/CHECK/umlaticm448x615.dat"
SHADE/palete=land_sea/title="UM Wind Field ICM coordinates 448x615"/levels=(0,15,1) vel,lon[d=3],lat[d=4]
These file umlonicm448x615.dat and umlaticm448x615.dat are common text files.
As a result I have a plot with axes with no units. How to tell Ferret about lon[d=3],lat[d=4] units which are curvilinear?

With best regards,
Szymon Roziewski


[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement