<div dir="ltr">Dear Prof. Alan Robock & Clark,<br><br>Thanks for the reply. Yes I should have one hour 'ERA Int' model product for the calculation of diurnal average and your suggestion are highly appreciable.<br>
<br>Regards,<br><br>Mubashar<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 8 Mar 2011 16:07:21 +0000<br>
From: "Clark, Douglas B." <<a href="mailto:dbcl@ceh.ac.uk">dbcl@ceh.ac.uk</a>><br>
Subject: Re: [gradsusr] diurnal average<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID:<br>
<<a href="mailto:40829B0E077C1145A6DE44D39B3830A91FF63D8E61@nerckwmb1.ad.nerc.ac.uk">40829B0E077C1145A6DE44D39B3830A91FF63D8E61@nerckwmb1.ad.nerc.ac.uk</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Mubashar,<br>
<br>
You can do something like:<br>
<br>
'set t 1 4'<br>
# t=400 would be 100 days. Change to the number of timesteps in your 22 years or data.<br>
'define tave=ave(tair,t+0,t=400,4)'<br>
'modify tave diurnal'<br>
<br>
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.<br>
<br>
Doug<br>
<br>
<br>
From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] On Behalf Of Mubashar Dogar<br>
Sent: 08 March 2011 13:33<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Subject: [gradsusr] diurnal average<br>
<br>
Dear? gradusers,<br>
<br>
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.<br>
<br>
Regards,<br>
<br>
Mubashar<br></blockquote></div></div>