Thanks for the good news!<br><div>I will wait for the 1.7.3 release.</div><div>Best regards,</div><div>Eloi</div><div><br></div><div><div><br></div></div><div><br></div><div><br><div><br><div class="gmail_quote">
On Mon, May 24, 2010 at 11:58 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Eloi,<br>
<br>
I've fixed an "obvious" coding error in the degrib library used by GDAL to<br>
read GRIB files that was the cause for the crash. It seems it is a bit<br>
related to the warning message about not being able to parse the date (that<br>
still persists), but not at the same place where the warning is emitted.<br>
<br>
Best regards,<br>
<br>
Even<br>
<br>
Le Monday 24 May 2010 10:30:25 Eloi Ribeiro, vous avez écrit :<br>
<div><div></div><div>> On Fri, Apr 30, 2010 at 12:42 PM, Eloi Ribeiro<br>
<<a href="mailto:eloi.ribeiro@gmail.com" target="_blank">eloi.ribeiro@gmail.com</a>>wrote:<br>
> > On Thu, Apr 29, 2010 at 3:35 PM, Frank Warmerdam<br>
<<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>>wrote:<br>
> >> Eloi Ribeiro wrote:<br>
> >>> Hi,<br>
> >>><br>
> >>> I keep receiving this warning using GDAL (1.6.3 released 2009/11/19 on<br>
> >>> Ubuntu desktop 9.10) whith GRIB2 files:<br>
> >>><br>
> >>> "Warning: Investigate Template 4.8 bytes 35-41<br>
> >>> Warning: Investigate Template 4.8 bytes 35-41<br>
> >>> (...)<br>
> >>> Warning: Investigate Template 4.8 bytes 35-41<br>
> >>> Warning: Investigate Template 4.8 bytes 35-41<br>
> >>> Segmentation fault"<br>
> >><br>
> >> Eloi,<br>
> >><br>
> >> The message comes from this part of:<br>
> >><br>
> >> gdal/frmts/grid/degrib18/degrib/inventory.cpp<br>
> >><br>
> >><br>
> >> case GS4_STATISTIC: /* 4.8 */<br>
> >> if (InventoryParseTime (*buffer + 35 - 5, &(inv->validTime))<br>
> >> != 0) {<br>
> >> printf ("Warning: Investigate Template 4.8 bytes<br>
> >> 35-41\n"); inv->validTime = inv->refTime + inv->foreSec;<br>
> >> }<br>
> >><br>
> >> Basically, it appears that it means there was a problem parsing<br>
> >> a date in the grib file, and it is reported as a warning.<br>
> >><br>
> >> There is no particular reason to believe it is related to the crash<br>
> >> you see with some files.<br>
> >><br>
> >> You might want to file a ticket with one of the files resulting in a<br>
> >> crash for further investigation.<br>
> >><br>
> >> Best regards,<br>
> >> --<br>
> >><br>
> >> ---------------------------------------+--------------------------------<br>
> >>------ I set the clouds in motion - turn up | Frank Warmerdam,<br>
> >> <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
> >> light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
> >> and watch the world go round - Rush | Geospatial Programmer for Rent<br>
> ><br>
> > Thank's for the tip Frank.<br>
> > I just submitted a ticket[1].<br>
> > I hope this issue can be solved.<br>
> > Regards,<br>
> ><br>
> > [1] <a href="http://trac.osgeo.org/gdal/ticket/3555" target="_blank">http://trac.osgeo.org/gdal/ticket/3555</a><br>
> ><br>
> > --<br>
> > Eloi Ribeiro<br>
> > GIS Analyst<br>
> > 39,45º -4,40º<br>
> > <a href="http://eloiribeiro.wordpress.com" target="_blank">http://eloiribeiro.wordpress.com</a><br>
><br>
> Hi,<br>
> Just to let Know that the bug [1] persist after update to the latest GDAL<br>
> version: GDAL 1.7.2, released 2010/04/23.<br>
> Best regards,<br>
><br>
> [1] <a href="http://trac.osgeo.org/gdal/ticket/3555" target="_blank">http://trac.osgeo.org/gdal/ticket/3555</a><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Eloi Ribeiro<br>GIS Analyst<br>39,45º -4,40º<br><a href="http://eloiribeiro.wordpress.com" target="_blank">http://eloiribeiro.wordpress.com</a><br>
</div></div>