Hi -
You can do this kind of thing with the RETURN keyword. Note the
grave-accent syntax, which evaluates the _expression_ on the right
hand side.
yes? let nx = `prj,RETURN=isize`
-Ansley
On 2/13/2012 8:59 AM, DELCLAUX Francois wrote:
Hi,
I would like to define a variable containing the dimension of a
file variable, ie :
suppose precipitation "prj" is a 1D variable for which i varies
from 1 to 10.
Then I would like to define a variable , nx, such that nx = 10 .
yes? let nx = ???
What's the best way for doing that ?
Sincerely
François Delclaux
|