[Thread Prev][Thread Next][Index]

Re: [ferret_users] change the pseudo variable name



Hi Prescilla,

You can refer to T by using quotation marks (can't remember whether double or single, and can't find in the documentation at the mo). E.g.

fill/l=10/k=1 "T"

Of course, you can also rename the variable with nco operators (http://nco.sourceforge.net/ ). E.g.

ncks -v T infile.nc just_T.nc   							!dump temperature from large file
ncrename -v T,temperature just_T.nc					!rename T to temperature

Hope this helps

Paul

On 11 May 2010, at 22:03, Prescilla wrote:

Hi ferreters:
I am having a model out put of >2.7GB. The data is saved in netcdf format. The variable for Temperature is specified with "T" in the data. Since T is a pseudo variable for time in ferret, I am getting an error message as below always.
fill/K=1/L=1 T
**ERROR: dimensions improperly specified: must be a 2D region
         CONTOUR/FILL/K=1/L=1 T
list/K=1:78/X=115/Y=115/L=1 T
            VARIABLE : T
                       axis ABSTRACT
            T        : 1
         1.000

The list T gives the value of L which is equal to 1 in this case.

list/K=1:78/X=115/Y=115/L=2 T
            VARIABLE : T
                       axis ABSTRACT
            T        : 2
         2.000
Here I get the value 2 since time is 2 (L=2) now

Is there anyway to change the pseudo variable name using ferret?
Any help is appreciated.
Thanks in advance

prescilla

Prescilla




[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement