WRAPIT functions

From: jbuzan <jbuzan_at_nyahnyahspammersnyahnyah>
Date: Thu May 01 2014 - 12:13:27 MDT

Hello NCL-Talk.

My fortran code that I am using only works on single cells. I am wondering if there is a more efficient way for me to set up my loops.

Input dataset is netcdf files (atmospheric output):
X(time,lev,lat,lon).

loop construction:

do i = 0, dimsizes(lat)-1
   do j = 0, dimsizes(lon)-1
      do l = 0, dimsizes(lev)-1
               do k = 0, dimsizes(time)-1
                FORTRAN WRAPIT object
         end do
      end do
   end do
end do

Thanks,

-Jonathan
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 01 12:13:39 2014

This archive was generated by hypermail 2.1.8 : Sun May 04 2014 - 12:38:56 MDT