Indecipherable error message

From: Ian Harris (i.harris AT uea.ac.uk)
Date: Fri Nov 26 2004 - 17:23:26 MST


Hi,

I'm getting an error message that doesn't - to me - make sense.

The message:

fatal:Loop end must be numeric value, can't execute loop
fatal:Execute: Error occurred at or near line 101

What does this mean? I have a 'do' loop that terminates on line 101 so
I assume it refers to that.

The loop starts:

   do imos=1,nmos

And ends:

   end do

There are no assignments to 'imos' within the loop.

There are two 'if' statement blocks within the loop:

     if (imos .lt. 10) then ;
build filename
       fil = "echam.000"+imos
     else
       if (imos .lt. 100) then
         fil = "echam.00"+imos
       else
         if (imos .lt. 1000) then
           fil = "echam.0"+imos
         else
           fil = "echam."+imos
         end if
       end if
     end if

and:

     if (imos .eq. 21) then
       grid = grid(:,::-1,:)
; rereverse grid lats to descend
       asciiwrite(fils(ifil)+"test21.gaussian.64x128.1col.dat",grid)
       asciiwrite(fils(ifil)+"test21.regridded.72x96.1col.dat",regrid)
       asciiwrite(fils(ifil)+"test21.ukwindow.8x7.1col.dat",ukwin)
     end if

So, what does the error message actually mean? No idea at this end;
happy to get an answer even if it indicates goofery on my part ;-)

Cheers

Harry
Ian "Harry" Harris
Climatic Research Unit
University of East Anglia
Norwich, UK NR4 7TJ

_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Wed Dec 01 2004 - 10:32:20 MST