Defining an array

H Wang ozweatherman at YAHOO.COM.AU
Mon Sep 25 05:45:36 EDT 2006


Thanks! Christoph
I'll try to make the string the same length, and to see if it works.
  I'll let you know.

  Best Regards,
  Hong Wang

Stegert <stegert at IFM.UNI-HAMBURG.DE> wrote:
  Hi,
generally I see no problem - maybe it is within the use of it
not in the definition of that array.
How is this array used in the script?
Or what about the variable name: Maybe it's used elsewhere not as array?
For Matlab all arrays have to be the same length (len('WP') != len('SCS')).
I'm not aware this has to be in GrADS, too - but maybe you check it?
Hope, I can help with some further info on your script...
Greetings, Christoph

H Wang schrieb:

>Hi all,
>
> I tried to define an array in my script as follows,
> domain.1='WP'
> domain.2='SCS'
> ......
> but GrADS gave an 'syntax error', could anyone help me?
>
> Thanks and Regards,
>
> Hong Wang
> Fugro GEOS
>
>
--
Christoph Stegert
Intitute for Oceanography - (ZMK/ZMAW alliance member)
University of Hamburg, GER - Ecological Modelling Group
Bundesstr.53 20146 Hamburg - +49-40-42838-7486 - Rm 348



---------------------------------
On Yahoo!7
  Criminal Minds: Win one of four Dodge Calibers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20060925/a04e6fbd/attachment.html 


More information about the gradsusr mailing list