<div><br><div class="gmail_quote">On Thu, Apr 29, 2010 at 3:35 PM, Frank Warmerdam <span dir="ltr"><<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Eloi Ribeiro wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I keep receiving this warning using GDAL (1.6.3 released 2009/11/19 on 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>
</blockquote>
<br></div>
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)) != 0) {<br>
printf ("Warning: Investigate Template 4.8 bytes 35-41\n");<br>
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><font color="#888888">
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <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>
</font></blockquote></div><div><br></div><br>Thank's for the tip Frank.<div>I just submitted a ticket[1].</div><div>I hope this issue can be solved.</div><div>Regards,</div><div><br></div><div>[1] <a href="http://trac.osgeo.org/gdal/ticket/3555">http://trac.osgeo.org/gdal/ticket/3555</a></div>
<br>-- <br>Eloi Ribeiro<br>GIS Analyst<br>39,45º -4,40º<br><a href="http://eloiribeiro.wordpress.com">http://eloiribeiro.wordpress.com</a><br>
</div>