From: Yang Yang <yang123yang_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 06 2013 - 21:07:25 MST

Hi There:
I would like to do interpolation from a low-resolution RCM to a high-resolution RCM. I checked NCL and couldn't find a function like rcm2rcm. I had to use rcm2points with the following codes:
   do i = 1, 1000
   do j= 1, 1000
    pp(i,j) = rcm2points (tlatb,tlonb,mslpb,tlat(i,j),tlon(i,j),0)
    uu(i,j) = rcm2points (tlatb,tlonb,u10mb,tlat(i,j),tlon(i,j),0)
    vv(i,j) = rcm2points (tlatb,tlonb,v10mb,tlat(i,j),tlon(i,j),0)
   end do
   end do
However, the codes takes a lot of CPU time. Very slow. Can someone give me some suggestions how to optimize the codes? Thanks!
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Nov 6 21:07:35 2013

This archive was generated by hypermail 2.1.8 : Mon Nov 11 2013 - 09:45:33 MST