Concatenate by time?

Enhao Du
2013-10-29
2013-10-29
  • Enhao Du
    Enhao Du
    2013-10-29

    Hi I have some CESM offline run outputs like:

    i4804h.clm2.h0.1948-01.nc
    i4804h.clm2.h0.1948-02.nc
    ...
    i4804h.clm2.h0.2004-12.nc

    And I'd like to extract runoff and make a time series file. So I did this
    ncecat -v runoff i4804h.clm2.h0.[1948-20004]-??.nc runoff.nc

    It outputs the file with 624 records but all with the same time stamp--1948-02-01. Is there a way I can output a file with 624 time steps?

     
  • Enhao Du
    Enhao Du
    2013-10-29

    I'v found that ncrcat is the right commend. Could administrator delete my original post please. Thank you so much!