Help to read grib files

msaavedra msaavedra at IMARPE.GOB.PE
Fri Apr 7 11:06:05 EDT 2006


hi Oleseun:
if your  CTL file is generated, must work well.
 Test with the file grib that i send.
You must review the historical files, from GRADS user list, to see problems similar to
yours.

bye

On Fri, 7 Apr 2006 19:07:56 +0800, Grus Weir wrote
> check your generated sample_grib_file.ctl first
> use vi or something
> .ctl is not any formatted data
> it is just a descriptive text file for the data
>
> On 4/7/06, oluseun idowu <oluseun_idowu at yahoo.com> wrote:
> >
> >  Dear Msaavedra and all,
> >
> > I discovered that the file was converted to .ctl format but when i
> > attempted to give the command  $ gribmap -i sample_grib_file.ctl -0 it gave
> > me the error message below
> >
> > [oluseun at b129pc124 ~]$ gribmap -i sample_grib_file.ctl -0
> > Open Error:  missing XDEF record
> > Open Error:  missing YDEF record
> > Open Error:  missing ZDEF record
> > Open Error:  missing TDEF record
> > Open Error:  missing UNDEF record
> > Open Error:  missing DSET record
> > Open Error:  missing VARS record
> >   The data file was not opened.
> >
> > I will need your further help. Thank you
> >
> >
> > Idowu
> >
> > *msaavedra <msaavedra at IMARPE.GOB.PE>* wrote:
> >
> > Dear User :
> >
> > for read and make plots from grib files :
> >
> > $ ./grib2ctl.pl sample_grib_file.grib > sample_grib_file.ctl
> > $ gribmap -i sample_grib_file.ctl -0
> >
> > $ gradsc
> > ga> open sample_grib_file
> > ga> q file
> > ga> d parameter
> >
> > you can download the perl script grib2ctl.pl from the web.
> >
> > bye
> >
> >
> >  ------------------------------
> >  To help you stay safe and secure online, we've developed the all new *Yahoo!
> > Security
Centre*<http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http://uk.security.yahoo.com/>
> > .
> >
> >
>
> Mensaje no contiene virus y
> otros contenidos peligrosos.
> MailScanner agradece su apoyo.


Miguel Saavedra Juan de Dios
Centro de Investigaciones en Modelado Oceanografico Biologico Pesquero (CIMOBP)
Instituto del Mar del Peru (IMARPE)
Esquina Gamarra y Gral. Valle S/N.
Chucuito. Callao-Peru
Telefono: 0051-01-4202000 anexo 273
www.imarpe.gob.pe


Mensaje no contiene virus y
otros contenidos peligrosos.
MailScanner agradece su apoyo.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: grib_files.tar
Type: application/x-tar
Size: 133120 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20060407/527cb643/attachment.tar 


More information about the gradsusr mailing list