comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: plot GRIB2 data as an image
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: plot GRIB2 data as an image [message #48749 is a reply to message #48748] Fri, 19 May 2006 07:17 Go to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <1148030998.881913.176720@g10g2000cwb.googlegroups.com>,
"JaneHurley" <jane.hurley@exeter.ox.ac.uk> wrote:

> I'm trying to load in some GRIB2 formatted data in the hopes of
> producing an image of cloud top heights. I've decoded the data into a
> .c format file, using grib_api-0.7.2 as instructed by the folks at
> ECMWF, but can't seem to do anything with it! Basically, all I want to
> do with the data is to take the GRIB2 file that I have, decode it, and
> then use IDL to plot a global map of the data.
>
> Would love some insight! Does anyone have something that will do this
> or any insight that could help?
>
> Thanks in advance!
> Jane Hurley

I use the wgrib utility from the Climate Prediction Center to convert GRIB files
to plain binary.

http://www.cpc.ncep.noaa.gov/products/wesley/wgrib.html

Then read the binary file into IDL.

wgrib let's you parse the GRIB file and extract only the parts that you need.
It will also produce a readable inventory of the GRIB file.

Ken Bowman
[Message index]
 
Read Message
Read Message
Previous Topic: polar_contour output of isoline coordinates
Next Topic: Re: Image division causes Floating illegal operand

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 20:50:59 PDT 2025

Total time taken to generate the page: 0.96260 seconds