[Thread Prev][Thread Next][Index]

[ferret_users] recursive variable definition



Hi everyone,

I know this may be a beginner question, but I can't find my answer in the
archives.

I simply want t build a time series of monthly ice extend after computing it
from different files.

This is how I work:

yes? DEFINE AXIS/CALENDAR=360_day/T="15-JAN-1998":"15-DEC-2001":30/UNITS=days
tax
yes? let ai=l[gl=tax]	! new variable

Then I want to open different file, computing the result and put the value into
de "vector" ai. This is in a repeat loop:

yes? SET DATA ($fic)
yes? let A=concentration[x=@din, y=@din] ! computing the total extent
yes? let ai = if l eq ii then RESHAPE(A,ai) else ai  !here I want to put the
value of "A" in "ai" at the indice "ii"

Of course I get an error because of the recursive definition of ai...but I dont
kno how I can manage to get rid of it!

Thank you very Much
Fred






[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement