wgrib2 sources for building with supplibs-2.0.1
Arlindo da Silva
dasilva at ALUM.MIT.EDU
Tue Feb 19 17:09:47 EST 2008
All,
In the process of autotoolizing the wgrib2 sources I just added a
preliminary GNUmakefile for building wgrib2 out of the box with the
supplibs-2.0.1. I just posted the sources here:
http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=263736
or you can browse the CVS repo:
http://opengrads.cvs.sourceforge.net/opengrads/Wgrib2/
I started with the development sources below I got from Wes. There have been
no changes to the NCEP sources, just an additional GNUmakefile and some prep
work for the autotools. See the INSTALL file for build instructions.
Keep in mind that this is work in progress, but it should build quite
simply if you have the supplibs around.
Arlindo
---------- Forwarded message ----------
From: Wesley Ebisuzaki <Wesley.Ebisuzaki at noaa.gov>
Date: Feb 13, 2008 1:41 PM
Subject: Re: NOAA / NCEP GRIB2 files: Syntax Error: Invalid Date/Time value.
Hour = 24 -- greater than 23
To: Arlindo da Silva <dasilva at alum.mit.edu>
Cc: "Dr. John M. Huddleston" <John.M.Huddleston at noaa.gov>, "V. Krishna
Kumar" <Krishna.Kumar at noaa.gov>, Boi Vuong <Boi.Vuong at noaa.gov>
Arlindo,
I don't know anything about autoconfiguring and I was hoping someone
would offer to do it.
Some considerations
(1) The code is a bit unusual. If you drop in an option source code
that follows the conventions,
the script function.sh will incorporate it into the wgrib2 program. It
makes it easy to add/remove
options but means that makefile uses the facilities of gnu make. Expect
1-6 options added per month.
(2) Moved lat-lon to double precision (in development code).
(3) May move all the code to double precision in near future. If so,
the will use a double precision
version of g2clib.
I just put a copy of the development sources on
ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz.dev
It's pretty close to the next release. The "grid_def" option is an
early prototype
on how to support irregular/unusual grids and won't be in the next release.
As for g2clib, I've cc-ed the responsible people.
Thanks for the autoconf offer,
Wesley
Arlindo da Silva wrote:
> On Feb 11, 2008 3:20 PM, Wesley Ebisuzaki <Wesley.Ebisuzaki at noaa.gov
> <mailto:Wesley.Ebisuzaki at noaa.gov>> wrote:
>
> Stefan,
>
> It's a strange wgrib2 bug. Evidently with the compile options
> given,
>
> floor(24/24.0) == 0.0
>
> Fixed the problem last month but not ready for a new wgrib2 release.
> Try removing "-ffast-math" option in the makefile or edit the ctl
> file by hand.
>
>
> I was thinking about autoconfiscating wgrib2 for easy building with
> the GrADS supplibs or else simply discovering the dependencies around.
> Do you mind? If it is OK with you, should I start from the publicly
> available sources or from your bleeding edge development sources?
>
> We already have an autoconfiscated g2clib in the supplibs. Would the
> upstream maintainers be interested in it? Who are they?
>
> Arlindo
>
> --
> Arlindo da Silva
> dasilva at alum.mit.edu <mailto:dasilva at alum.mit.edu>
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080219/f49d1639/attachment.html
More information about the gradsusr
mailing list