<div>Dear all,</div>
<div> </div>
<div>i am new to this forum. I am trying to calculate the precipitation bias (regcm output -CRU ) and when i am running the script, it is ending with segmentation fault.....</div>
<div> this is the script</div>
<div> </div>
<div><span lang="">
<p>'reinit'</p>
<p>'set display color white'</p>
<p>'c'</p>
<p>'enable print test2.meta'</p>
<p>'open /export/data/RegCM_Pyari/pyari/RegCM/NNRP2run/1988/SRF.1988060100.ctl'</p>
<p>'open /export/data/RegCM_Pyari/pyari/RegCM/NNRP2run/1988/SRF.1988070100.ctl'</p>
<p>'open /export/data/RegCM_Pyari/pyari/RegCM/NNRP2run/1988/SRF.1988080100.ctl'</p>
<p>'open /export/data/RegCM_Pyari/pyari/RegCM/NNRP2run/1988/SRF.1988090100.ctl'</p>
<p>'sdfopen /export/data/<a href="http://GPCP.PRECIP.NC">GPCP.PRECIP.NC</a>'</p>
<p>'define t1=ave(tpr.1,t=1,t=240)'</p>
<p>'define t2=ave(tpr.2,t=241,t=488)'</p>
<p>'define t3=ave(tpr.3,t=489,t=736)'</p>
<p>'define t4=ave(tpr.4,t=737,t=976)'</p>
<p>'define T=(t1+t2+t3+t4)/4.0'</p>
<p>'define P=ave(precip.5,t=90,t=93)'</p>
<p>'set grid off'</p>
<p>'set grads off'</p>
<p>'set mpdset hires'</p>
<p>'set lat 5 40'</p>
<p>'set lon 65 98'</p>
<p>'set gxout shaded'</p>
<p>'set clevs -5 -4 -3 -2 -1 0 1 2 3 5 8 11 14 17 20'</p>
<p>'set ccols 3 14 4 11 5 13 0 10 7 12 8 2 6 15'</p>
<p>'d T-P'</p>
<p>'set gxout contour'</p>
<p>'set cint 1'</p>
<p>'d T-P'</p>
<p>'run <a href="http://cbar.gs">cbar.gs</a>'</p>
<p>'close 5'</p>
<p>'close 4'</p>
<p>'close 3'</p>
<p>'close 2'</p>
<p>'close 1'</p>
<p> </p>
<p>'print'</p>
<p>'disable print'</p>
<p> </p>
<p> </p>
<p> </p>
<p>can anyone help?</p>
<p>thanks.</p></span></div>