using "frame" repeatedly with the same file name produces files
with an additional extension. Just use the unix command 'ls' to
What image files are suitable for you depends on the software
to compile the animation. There is a simple old tool 'whirlgif'
to produce an animated gif. Its nice and easy to use, but
vanishs out of sight of google. It requires gif input. Please
note, the most favourable version of ferret, namely pyferret
does not support gif anymore but produces png-files. If you need
gifs just write a little shell script using the ImageMagic tool
'convert' to produce gif files. Something like
for file in $files
name=`echo $file | cut -f1
More complex tools like mencoder can be used to glue a sequence
But now to ferret. Just organise a loop over the time slices.
It is easy to generalise it for more than 12 steps.
define symbol stamp=`li,zw=3`;\
define symbol filename=sst_($stamp);\
sp rm ($filename).png;\
You may guess the reason for the complex way to build the
filename. Using ls *png produces the file list in the correct
order, not only for 12 time slices but also for a larger number
(<1000 or for more with zw=4). This allows to produce an
ordered list of files to be glued to an animated file with a
single unix command ls sst*.png > filelist.
Hope this helps to get you started.
From: saurabh rathore
15 November 2016 23:21
To: ferret users
Subject: [ferret_users] for multiple png or gif
file for the use of animation
i want to create
multiple png or gif files to produce animation which
is my next concern step. i am having the latest
pyferret and ferret and by the use of pyferret i am
doing in this way
SST; GO fland; FRAME/file=sst0_`l`.gif)
but i am getting only a
single image of the last time step instead of 12
images which i want to use in further animation.
apart from this i also
want to ask that can i create multiple .png files for
my animation and for the beautification of my plots
how to issue multiple commands like ppl tics, shakey,
conset etc. in this excercise.
i hope i will get help
on this regard.
For Oceans, Rivers, Atmosphere & Land
Institute Of Technology, Kharagpur
contact :- 91- 8345984434