[gradsusr] How can I convert fnl files to .ctl files?

Wesley Ebisuzaki - NOAA Federal wesley.ebisuzaki at noaa.gov
Tue Feb 19 11:16:24 EST 2013


T.,

Compiled wgrib can be found here.

    ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib/machines/Windows/

You also need to install perl and make sure wgrib and perl are on your path.


  Wesley


On Sun, Feb 17, 2013 at 11:15 AM, T. haghroosta <haghroosta at hotmail.com>wrote:

>  Hi,
>
> Sorry, I couldn't do that. If I am working on Grads, on windows 7, how can
> I do that in the windows system and Grib 1? Please explain more. How can I
> compile wgrib and place on my path? The fnl data must be where to be
> readable by commands?
>
> Regards,
>
> T.
>
>
> > ------------------------------
> >
> > Message: 2
> > Date: Thu, 14 Feb 2013 11:16:11 +0000
> > From: "T. haghroosta" <haghroosta at hotmail.com>
> > Subject: [gradsusr] How can I convert fnl files to .ctl files?
> > To: <gradsusr at gradsusr.org>
> > Message-ID: <DUB121-W2117940C2D712511EA370DD0F0 at phx.gbl>
> > Content-Type: text/plain; charset="windows-1256"
> >
> >
> >
> >
> >
> > Dear All, I have some fnl files an I want to convert them to .ctl files
> that makes them readable for Grads. Could you please lead me what shall I
> do? I read the link http://www.cpc.ncep.noaa.gov/produ!
> cts/wesley/grib2ctl.html but unfortunately I didn't understand correctly.
> In linux system what kind of softwares I need to have for converting those
> fnl files? Regards, T.
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20130214/dbac59a2/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Thu, 14 Feb 2013 16:58:02 +0530
> > From: madhu latha <madhulatha11 at gmail.com>
> > Subject: Re: [gradsusr] How can I convert fnl files to .ctl files?
> > To: GrADS Users Forum <gradsusr at gradsusr.org>
> > Message-ID:
> > <CAAhFJCT9MxGsObPREdS_x4woNd7ewS2o+DXSKGPYcSyN+SiZCw at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hi
> >
> > You have to use
> >
> > $ perl grib2ctl.pl grib_file >grib_file.ctl
> > $ grib! map -i grib_file.ctl
> >
> > these commands will create ctl a nd index files.
> > these ctl files can be opened in grads
> > $ grads
> > Landscape mode? (no for portrait):
> > ga-> open grib_file.ctl
> >
> > Try this.
> >
> > On Thu, Feb 14, 2013 at 4:46 PM, T. haghroosta <haghroosta at hotmail.com
> >wrote:
> >
> > > Dear All,
> > >
> > > I have some fnl files an I want to convert them to .ctl files that
> makes
> > > them readable for Grads. Could you please lead me what shall I do? I
> read
> > > the link http://www.cpc.ncep.noaa.gov/products/wesley/grib2ctl.htmlbut
> > > unfortunately I didn't understand correctly.
> > >
> > > In linux system what kind of softwares I need to have for converting
> those
> > > fnl files?
> > >
> > > Regards,
> > >
> > > T.
> > >
> > >
> > > _______________________________________________
> > > gradsusr mailing list
> > > gradsusr at gradsusr! .org
> > > http://gradsusr.org/mailman/listinfo/gradsusr
> > >
> > >
> >
> >
> > --
> > *With Regards
> > Madhu Latha Akkisetti
> > SRF
> > NARL <http://www.narl.gov.in>
> > Department of space
> > Gadanki*
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://gradsusr.org/pipermail/gradsusr/attachments/20130214/2990100a/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Thu, 14 Feb 2013 08:42:30 -0500
> > From: Wesley Ebisuzaki - NOAA Federal <wesley.ebisuzaki at noaa.gov>
> > Subject: Re: [gradsusr] How can I convert fnl files to .ctl files?
> > To: GrADS Users Forum <gradsusr at gradsusr.org>
> > Message-ID:
> > <CAMHOGe=q78Y9NVthEnm0QpyvRjS0r4jTXiXgCLV-ahL9ksz3XQ at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hi,
> ! >
> > FNL files can either be in grib1 or grib2 format. You c an tell the
> > difference
> > by running wgrib (a grib1 utility) or wgrib2 (a grib2 untility) on the
> > file. You'll
> > know that you've found the right format by getting nice inventory.
> >
> > For grib1 analysis files, you use
> >
> > grib2ctl.pl gribfile >gribfile.ctl
> > gribmap -0 -i gribfile.ctl
> >
> > For grib1 forecast files, you use
> >
> > grib2ctl -verf gribfile >gribfile.ctl
> > gribmap -i gribfile.ctl
> >
> > * These instructions differ from the previous answer *
> >
> > For grib2 analysis files, you use
> >
> > g2ctl -0 gribfile >gribfile.ctl
> > gribmap -0 -i gribfile.ctl
> >
> > For grib2 forecast files, you use
> >
> > g2ctl gribfile >gribfile.ctl
> > gribmap -i gribfile.ctl
> >
> > Note that g2ctl is consistent with gribmap in its use of the -0 and -b
> > flags..
> >
> > For Windows, yo! u have to use "perl grib2ctl.pl" and "perl g2ctl".
> >
> > In order for grib2ctl.pl to work, wgrib must be compiled and placed on
> your
> > path.
> > In order for g2ctl to work, wgrib2 must be compiled and placed on your
> path.
> >
> > Wesley Ebisuzaki
> >
> >
> >
> > On Thu, Feb 14, 2013 at 6:28 AM, madhu latha <madhulatha11 at gmail.com>
> wrote:
> >
> > > Hi
> > >
> > > You have to use
> > >
> > > $ perl grib2ctl.pl grib_file >grib_file.ctl
> > > $ gribmap -i grib_file.ctl
> > >
> > > these commands will create ctl and index files.
> > > these ctl files can be opened in grads
> > > $ grads
> > > Landscape mode? (no for portrait):
> > > ga-> open grib_file.ctl
> > >
> > > Try this.
> > >
> > > On Thu, Feb 14, 2013 at 4:46 PM, T. haghroosta <haghroosta at hotmail.com
> >wrote:
> > >
> > >! > Dear All,
> > >>
> > >> I have some fnl file s an I want to convert them to .ctl files that
> makes
> > >> them readable for Grads. Could you please lead me what shall I do? I
> read
> > >> the link http://www.cpc.ncep.noaa.gov/products/wesley/grib2ctl.htmlbut
> > >> unfortunately I didn't understand correctly.
> > >>
> > >> In linux system what kind of softwares I need to have for converting
> > >> those fnl files?
> > >>
> > >> Regards,
> > >>
> > >> T.
> > >>
>
>
>
> _______________________________________________
> 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/20130219/03c9a73d/attachment-0003.html 


More information about the gradsusr mailing list