Re: how to change a dimension's size

From: Dave Allured - NOAA Affiliate <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Tue Dec 17 2013 - 11:17:15 MST

Do this outside of NCL. Use NCO (Netcdf Operators), make a new Netcdf
file. See under "other tools" on this page:

   http://www.ncl.ucar.edu/Document/Tools/

Typical command to subset on latitude:

   ncks -d lat,0,44 infile.nc outfile.nc

--Dave
(Reply to user list only, please.)

On Tue, Dec 17, 2013 at 10:23 AM, 朱学明 <557xiaozhu@163.com> wrote:
>
> Hello All,
> How can I change a dimension's size in one nc file? I want to change
the dimension lat from 50 to 45, then all the variables related to lat will
change too, such as from dep(100,50) to dep(100,45).
>
>
> Anyone has any suggestion? Thanks.
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Dec 17 11:17:51 2013

This archive was generated by hypermail 2.1.8 : Wed Dec 18 2013 - 14:29:51 MST