time step with tloop, howto?

Siraj Ul Islam sirajkhan78 at GMAIL.COM
Sun Sep 11 14:24:39 EDT 2005


yes u can do it by following the steps as
1)
 set t 1 240 3    >>where last three is the increament in t
d tloop(aave(prec,g))


or u can wrtie a new .txt file having area average using
2)
't=1'
'tmax= 240'
while(t<=tmax)
set t'  t
'd aave(prec,g)'
t=t+2
endwhile

cheers
Siraj



On 9/9/05, Henrique Barbosa <hmjbarbosa at gmail.com> wrote:
> Dear all,
>
> Is it possible to skip some time steps within a tloop? I mean, if I do:
>
> set t 1 240
> d tloop(aave(prec,g))
>
> I will have a plot of a time series with 240 points. However,
> what I acctually need is only the 1st, 3rd, 6th, ...., points.
>
> Any tips?
>
> Thanks,
> Henrique
>
>


--
Siraj Ul Islam
1: Research Fellow (Climate Section)
Global Change Impact Studies Centre
First Floor Saudi Pak tower
Blue Area Islamabad Pakistan
Ph :   92-51-9219785
Fax : 92-51-9219787

2: Mphil Scholar
Computational Physics and Simulation Group
Department of Physics
Quaid e Azam University
Islamabad.



More information about the gradsusr mailing list