Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: [netcdfgroup] eliminate dimension of netcdf variable

Hello Jorge,

Please see http://nco.wiki.sourceforge.net/remove+a+degenerate +dimension .
The page above addresses exactly the issue you described.

I would write a bash script to process a group of files. (Please do ask if you need help with that.)

Cheers!
--
Constantine

On Apr 22, 2009, at 2:18 PM, Jorge Urrego Blanco wrote:

Hello all,

I have a bunch (many) of netcdf files which contain a variable defined in four
dimensions, say;

variable(time,depth,y,x)

the dimension of x is 1 so I want (need) to eliminate this dimension so that my
variable is now

variable(time,depth,y)

Any help will be highly appreciated , thanks a lot!

_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/



 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690