Re: Grads Binary file

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri, 3 Mar 2006 16:32:59 -0700 (MST)

 Well, I am not a GrADS user :-)
 so I do not know. You may have to go to the GrADS
 WWW and read about it.

 GrADS format is basically a flat binary file.

 I speculate that the following will work.

    rain = fbindirread("1991new.grads", 0, 365, "float")
    print(rain)

 ==========================================================================
> On Thu, 2 Mar 2006, sahana_paul wrote:
>
 Hi,
         I have dat in grads binary file say temp.grads and descripter file
temp.ctl and temp.map also. Is it possible to use this file in NCL or anyother
way to convert it netcdf, grib, or any other file format.

> I have station data, so how to assaign the lat lon to the
> perticular station.
> my ctl file is,
>
> dset ^1991new.grads
> dtype station
> stnmap 1991new.map
> undef -9999.00
> title rain
> tdef 365 linear 01jan1991 1dy
> vars 1
> rain 0 99 rain
> endvars
>
> in that case I cannot use the grads2nc.
>
> regards
>
> sahana
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Mar 03 2006 - 16:32:59 MST

This archive was generated by hypermail 2.2.0 : Fri Mar 03 2006 - 17:14:18 MST