[Thread Prev][Thread Next][Index]

Re: Creating an animantion



Manfredi,

Use back-quotes ` instead of forward single quotes ' in your repeat command. That's the problem. The back-quote means "replace l with it's value". Single quotes would normally be used to enclose names with spaces or prevent any variable expansion.

Glenn


At 5:02 pm +0000 20/1/04, Manfredi Manizza wrote:
Hi Ferreters,
I tryied to make an animation in Ferret following the manual. I did it in
this way. I run a first jnlscript, which is supposed to be craeting gif
figures, calling a second script which producese the plots by the "fill"
command. It should produces 12 images, one for every monthly output.
It seems to be working until the 11th and then it gives me the
following error message:

**ERROR: command syntax: ~


Also instead of producing files called whirl-1, whirl-2, etc.,
it produces names like : whirl-'l'.gif.~1~, whirl-'l'.gif.~2~ and so on.


Here are the scripts:

FIRST SCRPT

repeat /l=1:12 (go diff_ice_4animation_2000_int.jnl
'l';frame/file=whirl-'l'.gif)

SECOND SCRIPT

use diff_icecover_2000_int.nc

let diceperc = diffice*100

!!!! Seetings!!!!
ppl tics 0.125,0.30,0.125,0.30,1,1
ppl axnmtc 2,2
ppl axlabp -1,-1
ppl axlsze 0.14, 0.14
ppl pen 0,7
ppl axlint 1, 1
ppl shakey ,, 0.12
ppl conset,0.1,1,1
!!!!!!!!!!!!!!!!!!!!!!!!!!

!plot difference in ice cover

set region /x=90:450
fill /nolabels /pal=light_centered /levels=(-40,40,1)(-80)(80)
diceperc[l=12]
go fland

THANKS IN ADVANCE , MANFREDI.


Manfredi Manizza
MPhil/PhD Student
School of Environmental Sciences
University of East Anglia
NR4 7TJ, Norwich
United Kingdom
email: m.manizza@uea.ac.uk
or mmanizza@bgc-jena.mpg.de


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement