<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Ok, T.,
<br />
<br />you will have to download the FNL GRIB 1 file again. Don't do any conversion with it. The FNL files can be directly seen in GrADS. Your .ctl file is ok.
<br />I don't know what kind of "conversion" you did, but certainly it is not necessary, since the fnl files, with that _c as suffix, are already in GRIB 1 format.
<br />
<br />All you have to do after downloading the FNL file is to run gribmap again:
<br />gribmap -i <yours>.ctl
<br />
<br />Try this, please, and let us know if it works or not.
<br />
<br />Greetings,
<br />Ricardo
<br />
<br /><font size="2"><b>On Thu, 28 Feb 2013 02:23:42 +0000, T. haghroosta wrote</b>
<br />>
Dear Ricardo,
<br />>
<br />> Yes, I did as like as you explained. I am
in doubt, maybe I have to do it again. I have a question; the source fnl file
has a size of 23 MB, but after converting it to a ctl and an idx file, each of
them has a size of just seven kb, is it correct and acceptable? I think maybe
the converting process has not been done correctly.
<br />>
<br />>
Regards,
<br />>
<br />> T.
<br />>
<br />> >
<br />> > Hi
People (Jeff, Saulo, T., others),
<br />> >
<br />> > T., please, could
you check your .ctl file for the dset line?
<br />> > In the q file command,
the output for the line:
<br />> >
<br />> > binary: E:/blablabla
<br />>
>
<br />> > should be the name of the binary file (that is, the grib 1
file: fnl_20081112_18_00_c), not the .idx name file.
<br />> >
<br />> >
The .idx has to be created with the gribmap command, outside the GrADS and
before running GrADS:
<br />> >
<br />> > gribmap -i filename.ctl
<br />>
> ?
<br />> > This command
!
will CREATE an index file. The name of this index file is set in your .ctl
file, as follow in the example below:
<br />> >
<br />> > dset
fnl_20081112_18_00_c
<br />> > index anyname.idx
<br />> > title
Test
<br />> > etc ...
<br />> >
<br />> > After getting this
anyname.idx index file, you can open the .ctl file in GrADS and dysplay any
variable.
<br />> >
<br />> > T., how did you get your .ctl file for
this? FNL grib file?
<br />> >
<br />> > Ricardo
<br />> >
<br />>
> On Wed, 27 Feb 2013 07:47:18 +0000, T. haghroosta wrote
<br />> > >
Dear Jeff,?
<br />> > > ?
<br />> > > The problem is this that I can
open the .ctl file but I cannot display any variable inside the q file list (
command "d variable").
<br />> > > ?
<br />> > > Dear Saulo,
<br />>
> >
<br />> > > I renamed the control file as same name as .idx,
but the problem was not solved. I got these errors :
<br />> > > GRIB I/O
error: Bit map I/O
<br />> > > display error: invalid expression
<br />>
> > ?
<br />> > >
Don!
't you think; it is related to converting process from fnl type to a
c
ontrol file and an idx file?
<br />> > > ?
<br />> > > Dear
manu,
<br />> > > ?
<br />> > > Of course I did as like you said,
but it didn't work.
<br />> > > ?
<br />> > > Regards?,
<br />> >
> ?
<br />> > > T.
<br />> >
<br />> >
<br />> >
-------------- next part --------------
<br />> > An HTML attachment was
scrubbed...
<br />> > URL:
http://gradsusr.org/pipermail/gradsusr/attachments/20130227/3c6d2df9/attachment-0001.html
<br />> >
<br />> > ------------------------------
<br />> >
<br />>
> _______________________________________________
<br />> > gradsusr
mailing list
<br />> > gradsusr@gradsusr.org
<br />> >
http://gradsusr.org/mailman/listinfo/gradsusr
<br />> >
<br />> >
<br />> > End of gradsusr Digest, Vol 36, Issue 75
<br />> >
****************************************
<br />
<br />
<br />Ricardo Hallak
<br />
<br />
Departamento de Ciências Atmosféricas (ACA)
<br />
Instituto de Astronomia, Geofísica e Ciências Atmosféricas (IAG)
<br />
Universidade de São Paulo (USP)
<br />
Rua do Matão, 1226 - Cidade Universitária - São Paulo SP 05508-900
<br />
Phone.: +55 (11) 3091-2850; 3091-4703
<br />
Fax: +55 (11) 3091-4714
<br />
<br />
</font>
</BODY>
</HTML>