Eloi Ribeiro wrote:
Hi,
I keep receiving this warning using GDAL (1.6.3 released 2009/11/19 on
Ubuntu desktop 9.10) whith GRIB2 files:
"Warning: Investigate Template 4.8 bytes 35-41
Warning: Investigate Template 4.8 bytes 35-41
(...)
Warning: Investigate Template 4.8 bytes 35-41
Warning: Investigate Template 4.8 bytes 35-41
Segmentation fault"
Eloi,
The message comes from this part of:
gdal/frmts/grid/degrib18/degrib/inventory.cpp
case GS4_STATISTIC: /* 4.8 */
if (InventoryParseTime (*buffer + 35 - 5, &(inv->validTime)) != 0) {
printf ("Warning: Investigate Template 4.8 bytes 35-41\n");
inv->validTime = inv->refTime + inv->foreSec;
}
Basically, it appears that it means there was a problem parsing
a date in the grib file, and it is reported as a warning.
There is no particular reason to believe it is related to the crash
you see with some files.
You might want to file a ticket with one of the files resulting in a
crash for further investigation.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev