[gradsusr] diurnal average

Clark, Douglas B. dbcl at ceh.ac.uk
Tue Mar 8 11:07:21 EST 2011


You can do something like:

'set t 1 4'
# t=400 would be 100 days. Change to the number of timesteps in your 22 years or data.
'define tave=ave(tair,t+0,t=400,4)'
'modify tave diurnal'

This will calculate the mean diurnal cycle (and make it a "climatological" variable) although, as Alan Robock said, you can't really get much information about the diurnal cycle from 6-hourly data.


From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Mubashar Dogar
Sent: 08 March 2011 13:33
To: gradsusr at gradsusr.org
Subject: [gradsusr] diurnal average

Dear  gradusers,

I am interested to see the diurnal averages of surface temperature over saudi arabia. Actually I have 22 years 'ERA Int' data having 4 time steps in each day (6 hourly). I would like to calculate diurnal mean cycle such that I left with only 4 points to see on the graph. How to check it in grads.


This message (and any attachments) is for the recipient only NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.

More information about the gradsusr mailing list