<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<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>
>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>
>Bye<BR>
><BR>
>Shailendra.<BR>
><BR>
><BR>
>On Mon, 05 Sep 2005 Arpita Mandal wrote :<BR>
> >hi i have a netcdf file pressure.nc. how can i read the data in GRADS<BR>
> >without writing FORTRAN program. is there any command like set gxout<BR>
> >fwrite. i have used that . the ouputs are written in binary form. how can<BR>
> >i read them.<BR>
> >thank you<BR>
><BR>
><BR>
>*************************************************<BR>
>Shailendra Rai<BR>
>K. Banerjee Centre of Atmospheric and Ocean Studies<BR>
>University of Allahabad<BR>
>INDIA<BR>
>Phone 09415649617<BR>
>Telefax +915322460974<BR>
>Mail ID r_shail1977@yahoo.co.in<BR>
>*************************************************<BR>
><BR>
</P>
ANIL KUMAR( METEOROLOGIST GR -II)
<br>
LRF SECTION
<br>
NATIONAL CLIMATE CENTER
<br>
ADGM(RESEARCH)
<br>
INDIA METEOROLOGICAL 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>