[Thread Prev][Thread Next][Index]

Re: [ferret_users] Pseudo variables



Hi -
You can use variables whose names are the same as reserved names, by putting the name into single quotes:

   FILL 'T'

Here, if the variable in the file is uppercase T, you must use an uppercase letter to refer to it.

The information on this is in the Users Guide, under "netCDF, variables, invalid names"
http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/variables-xpressions/VARIABLES#_VPINDEXENTRY_244

I'll work on adding some more entries in the index to find this - under Pseudo-variables and Variable naming.

Ansley

Samrat Rao wrote:

Hi,
   I am unable to plot/fill temperatures as in my datasets, the variable temperature is T itself. I got the following error:

**ERROR: command syntax: cannot transform pseudo-variables: D=dset1.nc
          use DEFINE VARIABLE (e.g. DEF VAR ii=i) and transform that
CONTOUR/FILL t_var

  So i just used something like tt = t; t_var=tt[d=dset1.nc] and once again got:

**ERROR: illegal use of transformation:  not all dimensions present on grid
CONTOUR/FILL t_var

  Please tell me which transform to use and how to use it.

--

Samrat Rao
Department of Mechanical Engineering
Indian Institute of Science
Bangalore - 560012, India


[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement