[gradsusr] how to convert nc file to aski dat

Jayakrishnan PR prjayakrishnan at gmail.com
Mon Aug 8 03:01:17 EDT 2011


Helloo...
            Here is a script which will convert the NCEP data into ascii.

*
'reinit'
'sdfopen uwnd.2007.nc'
tt=1
while (tt<=31)
'set lat 10'
'set lon 67'
'set t 'tt
'd uwnd'
te=subwrd(result,4)
w=write('result.txt',te)
tt=tt+1
endwhile
*



Kindly try with that. It will give output in ascii format for the specified
location in the gs file. Best of luck






-- 
Sincerely
***********************************************
Jayakrishnan.P.R
CSIR-Senior Research Fellow
Department of Atmospheric Sciences
Cochin University of Science and Technology (CUSAT), Cochin-682 016
Kerala, India.
Mob: 09895417565

***********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110808/3bbb4ff8/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.gs
Type: application/octet-stream
Size: 171 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20110808/3bbb4ff8/attachment-0003.obj 


More information about the gradsusr mailing list