<br>I came up with a way to do this. It is not elegant, but works, and I would be happy to see another option. The idea is to maskout all other times except the one you want to plot. However, grads won't let you take a single time variable, and expand that into a time series so that it can mask the other times. So, here goes, for 00Z:<br>
<br>set time 18Z1Jul2004 00Z2Jul2004<br>define m1=1<br>set time 00Z2Jul2004 06Z2Jul2004<br>define m2=1<br>set time 00Z2Jul2004 18Z2jul2004<br>define m3=m2*m1 *m3=1 at 00Z2Jul, undef all others<br>modify m3 diurnal * now m3=1 for all 00Z<br>
<br>set time 00Z1Jul2004 18Z31jul2004<br>display var*m3 <br><br>The display should have a time series of 00Z points. If you want those points connected then prior to display, set missconn on.<br>
<br>Hope it helps,<br><br>Mike<br><br><div class="gmail_quote">On Thu, Jul 3, 2008 at 3:28 AM, Maat, Herbert ter <<a href="mailto:Herbert.termaat@wur.nl">Herbert.termaat@wur.nl</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><font face="Arial" size="2">Dear
GrADS-users,</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">I have a very simple
question which is probably easy to answer as well. </font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">I have temperature
data in a timeseries of, let's say, 120 timesteps (30 days times 4 points per
day; 00z 06z 12z and 18z). Using GrADS I want to display a selection of this
data, namely only temperature at 00Z and skipping the other timesteps, thus
display times 1, 4, 9, and so on. Is there a simple statement to do this in
GrADS or do I need to end up writing a script for this?</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Kind
regards,</font></span></div>
<div><span><font face="Arial" size="2">Herbert ter
Maat</font></span></div></div>
</blockquote></div><br>