Re: Indecipherable error message

From: Ian Harris (i.harris AT uea.ac.uk)
Date: Sat Nov 27 2004 - 04:33:04 MST

  • Next message: Mail System Internal Data: "DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA"

    On Saturday, November 27, 2004, at 12:37 AM, Dave Allured wrote:

    > Please check the value of nmos before you start the loop. Stop
    > worrying about imos.
    >
    > Or perhaps, go home, get more sleep, come back, read error message
    > again. ;-)

    :-)

    I *was* at home.

    Thanks though, (and to Don Morton for offlist comments). I was using
    systemfunc to deliver nmos - worked OK in trials but not any more (!).

    > --Dave
    >
    > "Sorry, it's holidays here."

    Yeeees - I forgot that, sorry - hope it was a good one.

    Cheers

    Harry

    >
    > Ian Harris wrote:
    >> 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@ucar.edu
    >> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
    >
    >
    > _______________________________________________
    > ncl-talk mailing list
    > ncl-talk@ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
    >
    >
    Ian "Harry" Harris
    Climatic Research Unit
    University of East Anglia
    Norwich, UK NR4 7TJ

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



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