ncgen

Yongsheng Chen yochen at UCAR.EDU
Wed Jul 18 12:54:54 EDT 2007


Guilong,

You can do it easily using ncks from NCO package (http://nco.sourceforge.net/)
The command will be like this:

ncks -d vertical_dim_name,0,28,2 ncfilename newncfilename

Yongsheng


On 7/18/07, Li,Guilong [Ontario] <Guilong.Li at ec.gc.ca> wrote:
> Dear users,
>
> Now I have NARR data with 29 levels and high horizontal resolutions. My
> question is if I want to extract several levels data and rewrite it to
> NetCDF format, how should I do in GrADS? Is there any script which I can
> use? It seems ncgen can do it but after I read the manual of ncgen, I
> can not figure out how to do it.
>
> Thank you.
>
> Guilong
>



More information about the gradsusr mailing list