Re: how to cut it?

From: Kate Hedstrom (kate AT arsc.edu)
Date: Fri Oct 01 2004 - 16:33:22 MDT

  • Next message: Cathryn Meyer: "contour maps"

    On Fri, Oct 01, 2004 at 03:25:01PM -0700, liping deng wrote:
    > hello!
    > Thank you for your attention!
    > I have a netcdf file 1987-01.nc , it have many variable like T,V, U........., but I do not want this one:
    > int nlons(lat) ;
    > nlons:long_name = "number of longitudes at each latitude"
    > how can I get a file aaa.nc=1987-01.nc -nlons(lat)?
    > Can using: ncatted -a number of longitudes at each latitude,nlons,d 1987-01.nc aaa.nc?
    >
    > Best wishes!
    > liping

    I would use "ncks -x -v nlons 1987-01.nc aaa.nc"

    Kate

    -- 
    Kate Hedström       Arctic Region Supercomputing Center
    kate@arsc.edu       University of Alaska, Fairbanks
    _______________________________________________
    ncl-talk mailing list
    ncl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk
    



    This archive was generated by hypermail 2b29 : Fri Oct 01 2004 - 17:25:32 MDT