[RegCNET] GrADS

S. Faisal Saeed faisal.met at gmail.com
Tue Oct 7 11:14:16 CEST 2008


Hi Farzan,

I use the following script to area average and write the time series data into a txt file. Hope this will help.


'reinit'

'open file.ctl'

itime=1

'set t 1'

'!rm tm1.txt'

while (itime < 1000)

'set t ' itime

'define tm = aave(pre,lon=80,lon=95,lat=25,lat=40)'

'd tm '

help = subwrd(result,4)

res = write('tm1.txt',help,append)

itime = itime+1

endwhile

 
__________________________________________________________________
SYED Faisal Saeed - Ph.D Student
Department of Meteorology
Stockholm University
S-10691 Stockholm, Sweden
Ph:   +46-8164338
e-mail:    faisal at misu.su.se
__________________________________________________________________
  ----- Original Message ----- 
  From: Kazi Farzan Ahmed 
  To: RegCM 
  Sent: Tuesday, October 07, 2008 8:08 AM
  Subject: [RegCNET] GrADS


  Hi Everyone,

  this is Farzan from Bangladesh...when I use GrADS to view any RegCM output (suppose ATM.2008010100 to see the temperature distribution over Bangladesh  for Jan 2008), it produces a graph for me...but i want to have those data in numerical form (in a text file) so that i myself can produce the graph using excel or spss...how can i do that in grads..or  do i have to use any other program for that purpose?

  regards.....



------------------------------------------------------------------------------


  _______________________________________________
  RegCNET mailing list
  RegCNET at lists.ictp.it
  https://lists.ictp.it/mailman/listinfo/regcnet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20081007/e1ebe2d2/attachment-0002.html>


More information about the RegCNET mailing list