Displaying u and v wind data from two separate files

anil kumar rohilla anil_rohilla at REDIFFMAIL.COM
Mon Sep 5 07:44:09 EDT 2005


 'c'
'reinit'
'sdfopen c:\olr\kalman_sst.nc'
'set gxout fwrite'
'set fwrite c:\pant.bin'
tt=1000
while(tt<1100)
'set t 'tt
'define pant=ave(sst,t+0,t+4)'
'd pant'
tt=tt+5
endwhile
'set gxout grid'
'disable fwrite'

use this script i have used this script for avaraging the data (pantad data) for a particular grid
i think it will work




 


On Mon, 05 Sep 2005 Shailendra Rai wrote :
>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.
>Bye
>
>Shailendra.
>
>
>On Mon, 05 Sep 2005 Arpita Mandal wrote :
> >hi i have  a netcdf file pressure.nc. how can i read the data in GRADS
> >without writing FORTRAN program. is there any command like set gxout
> >fwrite. i have used that . the ouputs are written in binary form. how can
> >i read them.
> >thank you
>
>
>*************************************************
>Shailendra Rai
>K. Banerjee Centre of Atmospheric and Ocean Studies
>University of Allahabad
>INDIA
>Phone 09415649617
>Telefax +915322460974
>Mail ID r_shail1977 at yahoo.co.in
>*************************************************
>


ANIL KUMAR( METEOROLOGIST GR -II)
LRF SECTION 
NATIONAL CLIMATE CENTER 
ADGM(RESEARCH)
INDIA METEOROLOGICAL DEPARTMENT
SHIVIJI NAGAR
PUNE-411005 INDIA
MOBILE +919422023277
anilkumar at imdpune.gov.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20050905/33e559ac/attachment.html 


More information about the gradsusr mailing list