[Gdal-dev] scale/offset/units
Frank Warmerdam
warmerdam at pobox.com
Thu Oct 27 12:43:43 EDT 2005
Erick,
I have added support for GetScale(), GetOffset() and GetUnitsType()
in the HDF4 driver for data with the following metadata items:
productUnits=dimensionless
scalingSlope=2e-06
scalingIntercept=0.05
The gdalinfo utility now reports the following for the file in
question:
Band 1 Block=2000x1 Type=Int16, ColorInterp=Gray
Unit Type: dimensionless
Offset: 0.05, Scale:2e-06
All the changes are committed in CVS.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list