about having animation of gpjs

Armelle Reca C. Remedio melle at OBSERVATORY.PH
Wed Mar 16 06:58:24 EST 2005


Dear Sina Samadi,

here's a sample script for creating successive images of a variable:

==============

'open file.ctl'
'set dbuff on'
'clear'
t=1
while (t<24)
  'd variable'
  'set t 't
  x=1
  while (x<50000)
    x=x+1
  endwhile
  t=t+1
  'clear'
endwhile
'set dbuff off'

===================
the x variable is for the time delay of viewing.
the t, in your case, is every hour.

hope it works!

sincerely,
melle

Quoting sina samadi <sisamadi at GMAIL.COM>:

> Dear all users
>
> I have a CTL file that contains Datas in 1880-2100.in hourly.with
> GrADS and by "set time" ,I could Produce just one picture in that
> time.
> I want to animate all pictures in order that produce in GrADS  in hourly.
> could any one help me about it?
>
> Best Regards
> Sina Samadi
> ______________________________________
> National Center for Climatology
> Tel:+98-511-3400306
> Fax:+98-511-3400310
> Email:sisamadi at gmail.com
>


--
Armelle Reca C. Remedio
Regional Climate Systems
Climate Studies Division
Manila Observatory
Ateneo de Manila University
Loyola Heights,
1108 Q.C. PHILIPPINES
Tel No:  (63-2) 426-5921 loc.214
Fax No:  (63-2) 426-6141
www.observatory.ph

~~~~~....................................~~~~~
   ...Work like you don't need the money,
      Love like you've never been hurt,
      And Dance like nobody's watching ...
~~~~~....................................~~~~~



More information about the gradsusr mailing list