Dear All,
I want to write the following grads script in NCL for 3 hourly output
of WRF model. Can any body help! It will be more encouraging if I that
script can write time step with that magnitude of wind.
____________________________________________________________
'reinit'
'open file.ctl'
'set lat 25.0'
'set lon 60.0'
res = write('wind.txt',''wind speed'')
t=1
tmax=660
while (t<=tmax)
'set t 't
'define d1 = mag(u10,v10)'
'd d1' ; rec1 = sublin(result,1) ; value1 = subwrd(rec1,4)
res = write('wind.txt',''value1'')
t = t+1
endwhile
________________________________________________________________________
Regards,
Amjad.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 19 2009 - 23:13:39 MST
This archive was generated by hypermail 2.2.0 : Thu Mar 05 2009 - 15:48:48 MST