Project

General

Profile

Vertical integration

Added by Olivier Marti almost 6 years ago

Hello,

I'm seeking a way to sum a variable along the vertical axis. Is there a way to do that with CDO ?

Thanks,

Olivier

netcdf TR6AS-Sr10_20000101_20491231_1Y_htc {
dimensions:
    x = 182 ;
    y = 149 ;
    deptht = 31 ;
    time_counter = UNLIMITED ; // (50 currently)
    bnds = 2 ;
variables:
    float deptht(deptht) ;
        deptht:long_name = "Vertical T levels" ;
        deptht:units = "m" ;
        deptht:positive = "up" ;
        deptht:axis = "Z" ;
    double time_counter(time_counter) ;
        time_counter:standard_name = "time" ;
        time_counter:long_name = "Time axis" ;
        time_counter:bounds = "time_counter_bnds" ;
        time_counter:units = "seconds since 1900-1-1 00:00:00" ;
        time_counter:calendar = "365_day" ;
        time_counter:axis = "T" ;
    double time_counter_bnds(time_counter, bnds) ;
    float htc(time_counter, deptht, y, x) ;
        htc:_FillValue = 1.e+20f ;
        htc:missing_value = 1.e+20f ;

// global attributes:
        :Conventions = "CF-1.4" ;
}

Replies (1)

RE: Vertical integration - Added by Karin Meier-Fleischer almost 6 years ago

Hi Olivier,

what about CDO's vertsum operator?

-Karin

    (1-1/1)