[gradsusr] 2D array loop

Filipa Varino fcvarino at fc.ul.pt
Fri Jan 4 07:08:41 EST 2013


Dear all

I am trying to create a 2D array which is the sum of two variables, but I don't know  how to do it in GRADS.
I would like to computed it for each lon and lat point.
In Matlab it would look like:

For X=1:10
For Y=1:10

Var(X,Y)=A+B

End
End

Any idea?

Thanks in advance

Best Regards

Filipa Varino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130104/389b1ebc/attachment.html 


More information about the gradsusr mailing list