Dear Sir/Madam<div> Below commands is my script to write data to text file, but I get trouble with ended line to write to text file.</div><div> the array of z500 include 144x73 grid points, but the script print only one value in out.txt (4770.09).</div>
<div> Please tell me how to push z500 into array in order to print.</div><div> I will be grateful</div><div>Thank you</div><div><br><div> 'sdfopen <a href="http://z500.nc">z500.nc</a>'</div><div>
'set t 1'</div><div> 'set z 1'</div><div> 'set gxout print'</div><div> 'set prnopts %g 1 1'</div><div> 'd z500'</div><div> res=subwrd(result,20)</div>
<div> write('/home/chinhth/chinh/out.txt',res)<br clear="all"><br>-- <br><div>(Mr.) Ta Huu Chinh</div><div>National, Weather Forecasting Center, Ha Noi, Viet Nam. </div><div>No: 4th, Dang Thai Than, Hoan Kiem, Ha Noi</div>
<div>Tel: 84-903-402-181</div><div>Fax: 84-43-824-4917</div><div>Email: <a href="mailto:chinhth2010@gmail.com" target="_blank">chinhth2010@gmail.com</a></div><div>Website: <a href="http://vn.myblog.yahoo.com/chinhth2005/" target="_blank">http://vn.myblog.yahoo.com/chinhth2005/</a></div>
<div>Website: <a href="http://bestknowledge-chinhth.blogspot.com/" target="_blank">http://bestknowledge-chinhth.blogspot.com/</a></div><div>Website: <a href="http://anhcuoidep.vn" target="_blank">http://anhcuoidep.vn</a></div>
<br>
</div></div>