[gdal-dev] gdalinfo -stats Misses invalid data value in ENVI header
Even Rouault
even.rouault at mines-paris.org
Fri Oct 19 14:07:56 PDT 2012
Le vendredi 19 octobre 2012 22:57:13, Peter Willis a écrit :
> Hello,
>
> The one listed as 'failed' actually fails for me as it is sent .
Just to be sure we are talking about the same thing, what do you call "fail"
exactly ? Is it that gdalinfo doesn't report "NoData Value=-999" for the bands
?
Just for reference, I've create a fake
"LSatThermalCube_96-98_float_cmsk_landmasked_ll.img" and gdalinfo on it
reports :
Driver: ENVI/ENVI .hdr Labelled
Files: LSatThermalCube_96-98_float_cmsk_landmasked_ll.img
LSatThermalCube_96-98_float_cmsk_landmasked_ll.hdr
Size is 2178, 1841
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AUTHORITY["EPSG","4326"]]
Origin = (-124.258818822248998,51.670841529998398)
Pixel Size = (0.000337173258152,-0.000337173258152)
Metadata:
[.... cut ....]
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left (-124.2588188, 51.6708415) (124d15'31.75"W, 51d40'15.03"N)
Lower Left (-124.2588188, 51.0501056) (124d15'31.75"W, 51d 3' 0.38"N)
Upper Right (-123.5244555, 51.6708415) (123d31'28.04"W, 51d40'15.03"N)
Lower Right (-123.5244555, 51.0501056) (123d31'28.04"W, 51d 3' 0.38"N)
Center (-123.8916371, 51.3604735) (123d53'29.89"W, 51d21'37.70"N)
Band 1 Block=2178x1 Type=Float32, ColorInterp=Undefined
Description = Band 1
NoData Value=-999
Band 2 Block=2178x1 Type=Float32, ColorInterp=Undefined
Description = Band 2
NoData Value=-999
[... cut ... ]
Band 49 Block=2178x1 Type=Float32, ColorInterp=Undefined
Description = Band 49
NoData Value=-999
More information about the gdal-dev
mailing list