Converting grads binary dat to txt file

Hemantkumar Chaudhari hemantkumarchaudhari at YAHOO.CO.IN
Tue May 24 08:22:16 EDT 2005


Dear Kamala,

Try as follows:

 1)Using grads:

  sdfopen data.nc
  set gxout fwrite
  set fwrite try.grb
 set lat 20



--- "K.Kamala" <kamala at TROPMET.RES.IN> wrote:
> dear Grads users,
>
> We want to convert netcdf  file to .txt
> We want output format to be in floating instead of
> exponential.
> we used following commands in script.
>
> sdfopen data.nc
> set lat 20
> set lon 70
> set t 1 10
> set gxout print
> set prnopts %10.3f 1 1
>  d myvar
>
>
> then the output file is as follows
>
> Printing Grid -- 10 Values -- Undef = 2e+20
>      0.000
>      0.000
>      0.000
>      0.000
>      0.000
>      0.000
>      0.000
>      0.000
>      0.000
>      0.000
>
>  Please help.
>

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony



More information about the gradsusr mailing list