<div dir="ltr"><div>Dear users!<br><br> I have a problem with a script to make trajectories and I'd like if someone could help me.<br><br> The routine is to opengrads!<br><br> The command line 21 does not. What goes wrong? Not sure why they did not. Someone suggests some help?<br>***************<br></div>1>'open track.ctl'<br><div>2> <br>3>'clear'
<br>4>'set t 't
<br>5>'set mpdset hires'
<br>6>'set parea 0.5 10.0 0.5 7.5'
<br>7> <br>8>'set lat 38 49'
<br>9>'set lon -80 -65'
<br>10><br>11>'set gxout shaded'
<br>12>'colorset Wunder1'
<br>13>'d refcclm'
<br>14>'cbar'
<br>15> <br>16>radius=25
<br>17>cint=15
<br>18> <br>19>'mfhilo refcclm CL h 'radius', 'cint
<br>20> <br>21>light_plot=result
<br>22><br>23>i=3
<br>24><br>25>minmax = sublin(result,i)
<br> <br>check=subwrd(minmax,1)
<br> <br>while(check = 'H')
<br> <br>use_lat = subwrd(minmax, 2)
<br>use_lon = subwrd(minmax, 3)
<br>mag=subwrd(minmax,5)
<br> <br>if(mag > 35)
<br>'q w2xy 'use_lon' 'use_lat
<br>x_min = subwrd(result,3)
<br>y_min = subwrd(result,6)
<br>'set line 0'
<br>'draw mark 3 'x_min' 'y_min' 0.15'
<br> <br>'traj 'use_lon' 'use_lat
<br>endif
<br> <br> <br>i=i+1
<br>minmax = sublin(light_plot,i)
<br>check=subwrd(minmax,1)
<br> <br>endwhile
<br> <br>'printim STORM_METHOD1_'t'.png'
<br>t=t+1
<br> <br>endwhile
<br> <br>endif
<br> <br> <br> <br>if(traj=2)
<br>reinit
<br> <br>_At=6371229
<br>_PI=3.141592654
<br>_D2R=_PI/180
<br>_R2D=180/_PI<br>*****************<br><br><br><span id="result_box" class="" lang="en"><span class="">For more information see</span><span>!<br><br></span></span><br><br><a href="http://gradsaddict.blogspot.com.br/2013/07/tutorial-two-ways-to-plot-future-storm.html">http://gradsaddict.blogspot.com.br/2013/07/tutorial-two-ways-to-plot-future-storm.html</a><br></div></div>