[Thread Prev][Thread Next][Index]

Re: [ferret_users] Delete dimension from variable



HI
                      you can define a new grid
like

let ngrd=x[gx=sosstsst]+y[gy=sosstsst]+t[gt=sosstsst]

let sst_n=reshape(sosstsst,ngrd)

hope this helps
with best regards,
Sudheer

On Wed, Nov 3, 2010 at 2:48 AM, A Sdf <asdf1243@xxxxxxxx> wrote:
Hello everyone,
 
I wonder how to delete a dimension from a variable. Let me give an example:
 
I want to create this:
 
                yes? show data
                   currently SET data sets:
                         1> ./SST.nc (default)
                name          title             I          J           K          L
                SOSSTSST SST            1:362   1:292    ...         1:1800

Instead of:
                yes? show data
                   currently SET data sets:
                         1> ./SST.nc (default)
                name          title             I          J           K          L
                SOSSTSST SST            1:362   1:292    1:1       1:1800
in which the K dimension is useless.
 
I have tried to define a new variable using
                yes? Let SST_n = SST[K=1]
                yes? SAVE/FILE=SST_n.nc SST_n
But this did nothing for the problem.
 
Thank you for your help.
 
 



--
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@xxxxxxxxxsjo@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