[gradsusr] How to assign a 2-D array at many levels to a 3-D array

jfj jfj at ntnu.edu.tw
Fri May 14 22:56:53 EDT 2010


I am more familiar with fortran program than grads script. In Fortran, it is
very easy to assign a 2-D array at many levels to a 3-D array. For example, 
   Do k=1,10
      Do i=....
       Do j=....
          Arr3(i,j,k)=arr2(i,j)
       Enddo
      Enddo
    Enddo

However, in Grads, I don't know if there is a similar way to do so. "Define"
seems not work in this situation. Could anybody help me out on this issue?
Thank you very much.

jfj at ntnu.edu.tw






More information about the gradsusr mailing list