[gradsusr] how to convert nc file to aski dat

Coly SAR colysar at gmail.com
Mon Aug 8 04:18:27 EDT 2011


>From Jayakrishman script is it possible to do the same for an area (lon and
lat varying) and write the output on a desired format for example let say
6e10.2 or ...;

Cs

2011/8/8 Jayakrishnan PR <prjayakrishnan at gmail.com>

> 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
>
> ***********************************************
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110808/9cc13ef5/attachment-0003.html 


More information about the gradsusr mailing list