<div><div><div class="gmail_quote">On Fri, Apr 30, 2010 at 12:42 PM, Eloi Ribeiro <span dir="ltr">&lt;<a href="mailto:eloi.ribeiro@gmail.com">eloi.ribeiro@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div><div></div><div class="h5"><br><div class="gmail_quote">On Thu, Apr 29, 2010 at 3:35 PM, Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>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>
&quot;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&quot;<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, &amp;(inv-&gt;validTime)) != 0) {<br>
               printf (&quot;Warning: Investigate Template 4.8 bytes 35-41\n&quot;);<br>
               inv-&gt;validTime = inv-&gt;refTime + inv-&gt;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></div></div>Thank&#39;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" target="_blank">http://trac.osgeo.org/gdal/ticket/3555</a></div>
<div class="im">
<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>
</blockquote></div><br><br></div><div>Hi,<br clear="all">Just to let Know that the bug [1] persist after update to the latest GDAL version: GDAL 1.7.2, released 2010/04/23.<div><div>Best regards,</div><div><br></div><div>
[1] <a href="http://trac.osgeo.org/gdal/ticket/3555" target="_blank">http://trac.osgeo.org/gdal/ticket/3555</a></div></div><div><br></div>-- <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></div>