[gradsusr] slow animation

Jennifer M Adams jadams21 at gmu.edu
Tue Sep 24 19:34:44 EDT 2019

You can get a smoother looking animation using the ‘set dbuff’ command. It works like this

'set dbuff on'
while (i<=5)
  'set t 'i
  'set clevs 240 245 250 255 260 265 270 275 280 285 290 295 300 305 310'
  '!sleep 0.25'
  'd t'


On Sep 23, 2019, at 9:25 AM, Stephen McMillan <smcmillan at planalytics.com<mailto:smcmillan at planalytics.com>> wrote:

Hello, you can try something like the following, which uses the "sleep" command with delay in seconds (or fraction thereof).  You will need to change the time delay to suit your needs.
Stephen McMillan

'set t 1'
td=0.2;#time delay in seconds
while(ts<=119);#loop through timesteps
  'd precipitation(t='ts')'
  '!sleep 'td

On Mon, Sep 23, 2019 at 8:46 AM DAME GUEYE <gueye.dame2 at ugb.edu.sn<mailto:gueye.dame2 at ugb.edu.sn>> wrote:
Hi !
I wanted a slow animation of a file and I typed the following but it's too fast and I want the animation to be a little slower.
ga-> sdfopen data.nc
Scanning self-describing file:  data.nc
SDF file data.nc is open as file 1
LON set to -59.875 14.875
LAT set to 0.125 29.875
LEV set to 0 0
Time values set: 2003:8:26:3 2003:8:26:3
E set to 1 1
ga-> q file
File 1 :
  Descriptor: data.nc
  Binary: data.nc
  Type = Gridded
  Xsize = 300  Ysize = 120  Zsize = 1  Tsize = 119  Esize = 1
  Number of Variables = 1
     precipitation  0  t,y,x  Accumulated Precipitation
ga-> set t 1 119
Time values set: 2003:8:26:3 2003:9:9:21
ga-> d precipitation
now what am I going to add or modify ?
Thanks !

Étudiant en Master 2 à l'UGB
UFR: Sciences Appliquées  et de Technologies(SAT)
Département: Physique Appliquée
Spécialité: Océan-Atmosphère-Climat
tél: 777069640
gradsusr mailing list
gradsusr at gradsusr.org

The information contained in this e-mail message
is intended only for the use of the recipient(s)
named above and may contain information that is
privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not
review, copy or distribute this message. If you have
received this communication in error, please notify
the sender immediately by e-mail, and delete the original message.
gradsusr mailing list
gradsusr at gradsusr.org

Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190924/59965d5f/attachment.html>

More information about the gradsusr mailing list