<P>
 'c'<BR>
'reinit'<BR>
'sdfopen c:\olr\kalman_sst.nc'<BR>
'set gxout fwrite'<BR>
'set fwrite c:\pant.bin'<BR>
tt=1000<BR>
while(tt&lt;1100)<BR>
'set t 'tt<BR>
'define pant=ave(sst,t+0,t+4)'<BR>
'd pant'<BR>
tt=tt+5<BR>
endwhile<BR>
'set gxout grid'<BR>
'disable fwrite'<BR>
<BR>
use this script i have used this script for avaraging the data (pantad data) for a particular grid<BR>
i think it will work<BR>
<BR>
<BR>
<BR>
<BR>
 <BR>
<BR>
<BR>
On Mon, 05 Sep 2005 Shailendra Rai wrote :<BR>
&gt;You can not read the data file directly from Grads but you can plot this by running gradsnc and opening the file with gradsnc. The output can be written in Binary format. Then you can write a simple code to read the binary file and write in Ascii format using Format.<BR>
&gt;Bye<BR>
&gt;<BR>
&gt;Shailendra.<BR>
&gt;<BR>
&gt;<BR>
&gt;On Mon, 05 Sep 2005 Arpita Mandal wrote :<BR>
&gt; &gt;hi i have&nbsp; a netcdf file pressure.nc. how can i read the data in GRADS<BR>
&gt; &gt;without writing FORTRAN program. is there any command like set gxout<BR>
&gt; &gt;fwrite. i have used that . the ouputs are written in binary form. how can<BR>
&gt; &gt;i read them.<BR>
&gt; &gt;thank you<BR>
&gt;<BR>
&gt;<BR>
&gt;*************************************************<BR>
&gt;Shailendra Rai<BR>
&gt;K. Banerjee Centre of Atmospheric and Ocean Studies<BR>
&gt;University of Allahabad<BR>
&gt;INDIA<BR>
&gt;Phone 09415649617<BR>
&gt;Telefax +915322460974<BR>
&gt;Mail ID r_shail1977@yahoo.co.in<BR>
&gt;*************************************************<BR>
&gt;<BR>

</P>


ANIL KUMAR(&nbsp;METEOROLOGIST GR&nbsp;-II) <br>
LRF SECTION&nbsp; <br>
NATIONAL CLIMATE&nbsp;CENTER  <br>
ADGM(RESEARCH) <br>
INDIA METEOROLOGICAL&nbsp;DEPARTMENT <br>
SHIVIJI NAGAR <br>
PUNE-411005 INDIA <br>
MOBILE +919422023277 <br>
anilkumar@imdpune.gov.in <br>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>