lists and fields in scripting
Bernd Becker
bernd.becker at METOFFICE.GOV.UK
Wed Oct 10 05:39:54 EDT 2007
Hi,
I just found myself documenting a grads script, saying:
* This is spaghetti code mainly because of the use of indexed scalar
variables.
* Lists, vectors and fields cannot be handled in grads yet.
But is it true?
I use variables like this:
ab.i.j where i and j are used as if they were indexes of
a 2D field.
Does grads scripting language offer something more appropriate?
i.e. ab(i,j) = 13.32 ?
Thanks,
Bernd.
--
Bernd Becker The Monthly Outlook
Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom
Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
E-mail:bernd.becker at metoffice.com - http://www.metoffice.com
More information about the gradsusr
mailing list