[gradsusr] Problems opening Grib2 files with grads
Jennifer Adams
jma at cola.iges.org
Tue Sep 20 12:57:19 EDT 2011
Two comments inline. --Jennifer
On Sep 20, 2011, at 12:54 PM, Javier Peña wrote:
> Dear Wesley:
>
> Could you kindly say to me where I can find the gribmap v2?
There is only one gribmap, it handles both grib 1 and 2.
> Now, I am using ubuntu 10.1 and I have downdoad the GRADS version
> 2.0.a7.1-3 from the software center.
>
> Thanks for your help.
>
> kind regards:
> Javier Peña
>
>
> 2011/9/20 Wesley Ebisuzaki <Wesley.Ebisuzaki at noaa.gov>
> Javier,
>
> The error message
>
> > Open Error: Data file type invalid
> > --> The invalid description file record is:
> > --> dtype grb2
This looks like a simple typo. Try changing "grb2" to "grib2"
> says that you either are using gribmap v1 or gribmap v2 that was
> compiled
> without grib2 support. Most likely the former.
>
> Wesley Ebisuzaki
>
>
>
> Javier Peña wrote:
> > Dear users:
> >
> > I'm trying to open a grib2 file with Grads but I've found problems
> in
> > my way.
> >
> > I have been able to create a descriptor file with the function
> > g2ctl.pl <http://g2ctl.pl> using the following sentence:
> >
> > perl g2ctl.pl <http://g2ctl.pl> -0 pgbhnl.gdas.2006020112.grb2 >
> > pgbhnl.gdas.2006020112_grib2.ctl
> >
> > but, when I've tried to create the index file with the function
> > gribmap, I have obtained the following error message:
> >
> > gribmap -i pgbhnl.gdas.2006020112_grib2.ctl
> > Open Error: Data file type invalid
> > --> The invalid description file record is:
> > --> dtype grb2
> > The data file was not opened.
> >
> > This is part of the descriptor file obtained:
> >
> > dset ^pgbhnl.gdas.2006020112.grb2
> > index ^pgbhnl.gdas.2006020112.grb2.idx
> > undef 9.999E+20
> > title pgbhnl.gdas.2006020112.grb2
> > * produced by g2ctl v0.0.8.2
> > * command line options: -0 pgbhnl.gdas.2006020112.grb2
> > * griddef=1:0:(720 x 361):grid_template=0:winds(N/S): lat-lon
> > grid:(720 x 361) units 1e-06 input WE:NS output WE:SN res 48 lat
> > 90.000000 to -90.000000 by 0.500000 lon 0.000000 to 359.500000 by
> > 0.500000 #points=259920:winds(N/S)
> >
> > dtype grib2
> > ydef 361 linear -90.000000 0.5
> > xdef 720 linear 0.000000 0.500000
> > tdef 1 linear 12Z01feb2006 1mo
> > * PROFILE hPa
> > zdef 37 levels 100000 97500 95000 92500 90000 87500 85000 82500
> 80000
> > 77500 75000 70000 65000 60000 55000 50000 45000 40000 35000 30000
> > 25000 22500 20000 17500 15000 12500 10000 7000 5000 3000 2000 1000
> 700
> > 500 300 200 100
> > options pascals
> > vars 95
> > no4LFTXsfc 0,1,0 0,7,193 ** surface Best (4 layer) Lifted
> Index [K]
> > no5WAVA500mb 0,100,50000 0,3,197 ** 500 mb 5-Wave Geopotential
> > Height Anomaly [gpm]
> > no5WAVH500mb 0,100,50000 0,3,193 ** 500 mb 5-Wave Geopotential
> > Height [gpm]
> >
> > Does someone know what is the problem? What is wrong in my
> procedure?
> > and how can I create the index file?
> >
> > Thank you very much in advance for your help.
> >
> > Sincerely:
> > Javier Peña
> >
> > --
> > Javier Peña Álvarez
> > Energías Renovables
> > javier.p at ereda.com <mailto:javier.p at ereda.com>
> > EREDA
> >
> > Tel: +34 91 5014755
> > Fax: +34 91 5014756
> > Pº. Marqués de Monistrol 7
> > 28011 MADRID
> > www.ereda.com <http://www.ereda.com>
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> >
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> --
> Javier Peña Álvarez
> Energías Renovables
> javier.p at ereda.com
> EREDA
>
> Tel: +34 91 5014755
> Fax: +34 91 5014756
> Pº. Marqués de Monistrol 7
> 28011 MADRID
> www.ereda.com
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110920/9423c1c1/attachment-0003.html
More information about the gradsusr
mailing list