All,<br><br> 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: <br><br><a href="http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=263736">http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=263736</a><br>
<br>or you can browse the CVS repo:<br><br> <a href="http://opengrads.cvs.sourceforge.net/opengrads/Wgrib2/">http://opengrads.cvs.sourceforge.net/opengrads/Wgrib2/</a><br><br>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.<br>
<br> Keep in mind that this is work in progress, but it should build quite simply if you have the supplibs around.<br><br> Arlindo<br><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Wesley Ebisuzaki</b> <<a href="mailto:Wesley.Ebisuzaki@noaa.gov">Wesley.Ebisuzaki@noaa.gov</a>><br>
Date: Feb 13, 2008 1:41 PM<br>Subject: Re: NOAA / NCEP GRIB2 files: Syntax Error: Invalid Date/Time value. Hour = 24 -- greater than 23<br>To: Arlindo da Silva <<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>><br>
Cc: "Dr. John M. Huddleston" <<a href="mailto:John.M.Huddleston@noaa.gov">John.M.Huddleston@noaa.gov</a>>, "V. Krishna Kumar" <<a href="mailto:Krishna.Kumar@noaa.gov">Krishna.Kumar@noaa.gov</a>>, Boi Vuong <<a href="mailto:Boi.Vuong@noaa.gov">Boi.Vuong@noaa.gov</a>><br>
<br><br>Arlindo,<br><br> I don't know anything about autoconfiguring and I was hoping someone<br>would offer to do it.<br>Some considerations<br><br>(1) The code is a bit unusual. If you drop in an option source code<br>
that follows the conventions,<br>the script function.sh will incorporate it into the wgrib2 program. It<br>makes it easy to add/remove<br>options but means that makefile uses the facilities of gnu make. Expect<br>1-6 options added per month.<br>
<br>(2) Moved lat-lon to double precision (in development code).<br><br>(3) May move all the code to double precision in near future. If so,<br>the will use a double precision<br>version of g2clib.<br><br>I just put a copy of the development sources on<br>
<br> <a href="ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz.dev" target="_blank">ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz.dev</a><br><br>It's pretty close to the next release. The "grid_def" option is an<br>
early prototype<br>on how to support irregular/unusual grids and won't be in the next release.<br><br>As for g2clib, I've cc-ed the responsible people.<br><br> Thanks for the autoconf offer,<br> Wesley<br>
<div class="Ih2E3d"><br><br><br>Arlindo da Silva wrote:<br>> On Feb 11, 2008 3:20 PM, Wesley Ebisuzaki <<a href="mailto:Wesley.Ebisuzaki@noaa.gov">Wesley.Ebisuzaki@noaa.gov</a><br></div><div><div></div><div class="Wj3C7c">
> <mailto:<a href="mailto:Wesley.Ebisuzaki@noaa.gov">Wesley.Ebisuzaki@noaa.gov</a>>> wrote:<br>><br>> Stefan,<br>><br>> It's a strange wgrib2 bug. Evidently with the compile options<br>
> given,<br>><br>> floor(24/24.0) == 0.0<br>><br>> Fixed the problem last month but not ready for a new wgrib2 release.<br>> Try removing "-ffast-math" option in the makefile or edit the ctl<br>
> file by hand.<br>><br>><br>> I was thinking about autoconfiscating wgrib2 for easy building with<br>> the GrADS supplibs or else simply discovering the dependencies around.<br>> Do you mind? If it is OK with you, should I start from the publicly<br>
> available sources or from your bleeding edge development sources?<br>><br>> We already have an autoconfiscated g2clib in the supplibs. Would the<br>> upstream maintainers be interested in it? Who are they?<br>
><br>> Arlindo<br>><br>> --<br>> Arlindo da Silva<br></div></div>> <a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a> <mailto:<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>><br>
<br></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>