[Gdal-dev] GDAL_Translate "too large to fit in tag" Problem

Junk Suresh sureshjunk at gmail.com
Tue Nov 22 13:39:56 EST 2005


Hello Group,

I'm having some problem converting modis MOD09A1datasets into GeoTiff.
The command I'm running is

gdal_translate.exe -sds
"C:\MODISASC\unzipped\MOD09A1.A2000153.fn_bwghanzi.004.2003020051319.hdf"
C:\MODISASC\MOD09A1_A2000153_fn_bwghanzi_tif

The problem is that the Tif images are created but the projection
information is missing. It puts a dummy 0,0 value for the Easting and
Northing. The error message I get is " Lost metadata writing to GeoTIFF ...
too large to fit in tag".

Any ideas as to why this error is popping out. I was able to successfully
convert another MOD09A1 data set at a different location, this one was
correctly georeferenced. When i did a gdalinfo on the files it turns out the
file with the problem has a slightly different LOCALGRANULEID (this one is
spread over two lines)

LOCALGRANULEID=/ss1/ftp/incoming/subsets/TERRA/MOD_SS.&
MOD09A1.A2000153.fn_bwghanzi.004.2003020051319.hdf

The file with no problem has
LOCALGRANULEID=MOD_SS.MOD09A1.A2000145.fn_czbilykr.004.2003017145533.hdf

Could this be a the reason why the tag doesn't fit.

Please help me figure this one.

Any help would be greatly appreciated.

Many thanks

Suresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20051122/dbdd0a15/attachment.html


More information about the Gdal-dev mailing list