Re: a question about ncrcat

From: Sylvia Murphy (murphys AT XXXXXX)
Date: Mon Mar 15 2004 - 16:14:06 MST

  • Next message: liping deng: "hello!--question about figure not fit its frame"

    liping,
    just so you know and for others as well, ncks and ncrcat are not part of
    NCL. they are a totally different software package call NCO or the
    netCDF operators.

    I will reply to your email again but not post it here since it is not
    explicable.

    sm

    On Mon, 15 Mar 2004, liping deng wrote:

    > Hello all:
    >
    > I have a easy question:
    > using following I get a leap series of u(date,
    > latitude, longitude),
    > % mv uv1980.nc leap.uv1980.nc
    > % ncks -d date,0,58 leap.uv1980.nc out1.nc
    > % ncks -d date,60,365 leap.uv1980.nc out2.nc
    > % ncrcat out1.nc out2.nc uv1980.nc
    >
    > But when run the ncrcat I got:
    > ncrcat: ERROR input file out1.nc lacks a record
    > dimension
    >
    > So how can I deal with it?
    >
    > Thank you very much!
    > liping
    >
    > ***********************************************************
    >
    >
    >
    > netcdf leap.uv1980 {
    > dimensions:
    > longitude = 144 ;
    > latitude = 73 ;
    > date = 366 ;
    > variables:
    > float longitude(longitude) ;
    > longitude:units = "degrees_east" ;
    > float latitude(latitude) ;
    > latitude:units = "degrees_north" ;
    > int date(date) ;
    > date:units = "days since 1980-1-1" ;
    > short u(date, latitude, longitude) ;
    > u:scale_factor = 0.00246842748312992 ;
    > u:add_offset = 30.4340227442662 ;
    > u:units = "m s**-1" ;
    > u:long_name = "U velocity" ;
    > short v(date, latitude, longitude) ;
    > v:scale_factor = 0.00235282876178557 ;
    > v:add_offset = -2.23031764973246 ;
    > v:units = "m s**-1" ;
    > v:long_name = "V velocity" ;
    > // global attributes:
    > :Conventions = "MARS" ;
    > :time = "1200" ;
    > :class = "er" ;
    > :levtype = "pl" ;
    > :levelist = "200" ;
    > :domain = "g" ;
    >
    >
    >
    >
    > __________________________________
    > Do you Yahoo!?
    > Yahoo! Mail - More reliable, more storage, less spam
    > http://mail.yahoo.com
    > _______________________________________________
    > ncl-talk mailing list
    > ncl-talk@ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
    >

    ******************************************************
    Sylvia Murphy EML: murphys@ucar.edu
    NCAR CGD/CSEG PHN: 303-497-1720
    1850 Table Mesa Drive FAX: 303-497-1333
    Boulder CO 80305

    WEB: http://www.cgd.ucar.edu/csm/support/
         http://www.cgd.ucar.edu/csm/support/CSM_Graphics/
    ******************************************************

    _______________________________________________
    ncl-talk mailing list
    ncl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Mon Mar 15 2004 - 21:30:27 MST