how to fwrite data from a while loop

See Hai Ooi axl419 at YAHOO.COM
Sun May 7 06:51:17 EDT 2006


Hi Dan,

    Try this :-

  *
   'reinit'
  *
   'open project/ERA40_test.ctl'
   'set gxout fwrite'
   'set fwrite project/peakvalues.data'
 *
   'set lon 140 260'
   'set lat 15 75'
   'set lev 775'
 *
      countt = 12
      a=1959
   while(countt<=528)
      'set t 'countt
      'define d=vv'
      countt=countt+1
      'set t 'countt
      'define j=vv'
      countt=countt+1
      'set t 'countt
      'define f=vv'
 *
      'define

pval=aave((d+j+f)/3),lon=189,lon=207,lat=51,lat=64)'
      'd pval'
 *
      countt = countt + 10
      a=a+1
   endwhile
 *
   'disable fwrite'


Ooi

--- Dan Barrie <dbarrie at ATMOS.UMD.EDU> wrote:

> Hi Ooi,
>
> Thanks for the suggestion. Unfortunately, that
> didn't work for me. Any
> other ideas?
>
> -Dan
>


Send instant messages to your online friends http://uk.messenger.yahoo.com



More information about the gradsusr mailing list