[Thread Prev][Thread Next][Index]

Re: [ferret_users] change the pseudo variable name



Hi Prescilla,
                         You can use NCO utility - ncrename for this purpose.
you should have nco installed in your system then below command will rename the variable properly
ncrename -v x,y  tx.nc
where x is old name y is new name and tx.nc is ncfile
if you use ubuntu
sudo apt-get install nco will install nco in your system else you need to get that from sourceforge.
hope this helps.
Sudheer

On Wed, May 12, 2010 at 9:33 AM, Prescilla <prescy@xxxxxxxxxxxxxxxxx> 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




--
with best regards

Sudheer

**********************************************************************************
Sudheer Joseph                                                                  
Scientist                                                                                    
Indian National Centre for Ocean Information Services (INCOIS)    
Ocean Valley, Post Box No# 21,
IDA Jeedimetla P.O.                  
Hyderabad, Ranga Reddy District - 500 055
Andhra Pradesh, India.
TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
E-mail:sjo@xxxxxxxxxxxxxx; sudheer.joseph@xxxxxxxxx;  sjo@xxxxxxxxxxxxx.
Web- http://oppamthadathil.tripod.com
          --------------* ---------------
"The ultimate measure of a man is
not where he stands in moments of
comfort and convenience, but where
he stands at times of challenge and
controversy."
                       Martin Luther King, Jr.
"What we have done for ourselves alone dies with us.
What we have done for others and the world remains and is immortal."
- Albert Pines

[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement