[ncl-talk] the script runs forever ,how to optimize ?

Saurabh Singh saurabhsingh123op at gmail.com
Mon Oct 13 15:11:18 MDT 2014


On Tue, Oct 14, 2014 at 4:59 AM, Alan Brammer <abrammer at albany.edu> wrote:

> rhp= new( (/ntimes, 3/), float)
>
> do t=0,ntimes-1
> rhp(t,:) = wrf_interp_1d(rh(t,:,60,41), p(t,:,60,41), (/500,850,1000/))
> end do
>

the error persists mate

fatal:Variable (ntimes) is undefined
fatal:["Execute.c":7743]:Execute: Error occurred at or near line 10 in file
chota.ncl

fatal:Variable (ntimes) is undefined
fatal:["Execute.c":7743]:Execute: Error occurred at or near line 11 in file
chota.ncl

even t the #0 subscript seems to be undefined .sorry for all the trouble
but i hardly use loops in NCL .


-- 
With regards
Saurabh Kumar singh

 *P** : * *Please consider the environment before printing this e-mail*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141014/baeb162e/attachment.html 


More information about the ncl-talk mailing list