Project

General

Profile

6 Hours data to daily(00+06+12+18)

Added by saeed bayat over 12 years ago

Dear CDO Users,

I have output from RegCM4 in 6 hours steps and I want to create a file in 24 hours
steps(00+06+12+18)=daily.
How Can I do this? my data is nc format.

Best Regards,

Saeed Bayat
M.A Student of Climatology
Department of Geography
Ferdowsi University of Mashhad(Iran)


Replies (3)

RE: 6 Hours data to daily(00+06+12+18) - Added by Ruth Cerezo about 12 years ago

Hi!
I actually needs the oposite:
i have hourly accumulate precipitation and I need to get the instant ppt (so t24-t23-t22....t1).
how can I do this?

thanks
Ruth

RE: 6 Hours data to daily(00+06+12+18) - Added by Uwe Schulzweida about 12 years ago

For the difference of two timesteps (t2-t1,...,t24-t23) use:

cdo sub -seltimestep,2/MAXSTEPS ifile ifile ofile
MAXSTEPS is the number of timesteps in ifile. You can use the CDO operator ntime to get the number of timesteps.

Best regards,
Uwe

    (1-3/3)