[gradsusr] About Trajectories
Carlos Batista
krlosbatist at gmail.com
Tue Dec 9 16:59:22 EST 2014
Dear users!
I have a problem with a script to make trajectories and I'd like if
someone could help me.
The routine is to opengrads!
The command line 21 does not. What goes wrong? Not sure why they did not.
Someone suggests some help?
***************
1>'open track.ctl'
2>
3>'clear'
4>'set t 't
5>'set mpdset hires'
6>'set parea 0.5 10.0 0.5 7.5'
7>
8>'set lat 38 49'
9>'set lon -80 -65'
10>
11>'set gxout shaded'
12>'colorset Wunder1'
13>'d refcclm'
14>'cbar'
15>
16>radius=25
17>cint=15
18>
19>'mfhilo refcclm CL h 'radius', 'cint
20>
21>light_plot=result
22>
23>i=3
24>
25>minmax = sublin(result,i)
check=subwrd(minmax,1)
while(check = 'H')
use_lat = subwrd(minmax, 2)
use_lon = subwrd(minmax, 3)
mag=subwrd(minmax,5)
if(mag > 35)
'q w2xy 'use_lon' 'use_lat
x_min = subwrd(result,3)
y_min = subwrd(result,6)
'set line 0'
'draw mark 3 'x_min' 'y_min' 0.15'
'traj 'use_lon' 'use_lat
endif
i=i+1
minmax = sublin(light_plot,i)
check=subwrd(minmax,1)
endwhile
'printim STORM_METHOD1_'t'.png'
t=t+1
endwhile
endif
if(traj=2)
reinit
_At=6371229
_PI=3.141592654
_D2R=_PI/180
_R2D=180/_PI
*****************
For more information see!
http://gradsaddict.blogspot.com.br/2013/07/tutorial-two-ways-to-plot-future-storm.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141209/71de5e6c/attachment.html
More information about the gradsusr
mailing list