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

Home » Public Forums » archive » Re: Code to convert grib spherical harmonic coefficients to gridded lat/lon
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: Code to convert grib spherical harmonic coefficients to gridded lat/lon [message #56982] Thu, 29 November 2007 14:41 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<30b87d0d-e14a-4c09-abca-31ed7971fa23@g30g2000hsb.googlegroups.com>,
Bill Gallery <wgallery@aer.com> wrote:

> I have some ECMWF grib files where the data is stored as spherical
> harmonics. Does anyone have idl code to convert the coefficients to
> gridded (lat/lon) data? Alternatively, do you have other programs to
> dump the data from the grib file, convert the spherical harmonics, and
> write it out? (I know there is a lot of stuff out there to handle
> grib files [ncl_convert2nc, wgrib, emos, PyNIO, ..] but I need someone
> with real experience to sort it out.

The do-it-yourself approach is to use SPHEREPACK from NCAR

http://www.cisl.ucar.edu/softlib/SPHERE.html

You will have to figure out how to read the GRIB files also.
The wgrib utility can be used to convert the GRIB files to
plain binary files. The wgrib pages have some good examples
of how to extract a particular field from a GRIB file.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: FastDL v2.4 is released
Next Topic: ENVI Graphics Colors (only grayscale)

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

Current Time: Fri Oct 10 18:55:31 PDT 2025

Total time taken to generate the page: 0.63992 seconds