[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GeoTIFF max/min values

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: GeoTIFF max/min values
  • Date: Mon, 01 Aug 2005 13:29:24 -0600

Steve Ansari wrote:

Hi John,
I did have one other question...

I've been exporting GeoTIFFs from NetCDF files using the ucar.nc2.geotiff.GeotiffWriter class. When I load the images in ESRI ArcMap the default max and min values are incorrect. Ex)
High : 3.40282e+038
Low : 1.17549e-038

Steve,
Is the output file greyscale? Otherwise the min and max value should be stored in these two tags: Tag.SMinSampleValue and Tag.SMaxSampleValue. Let me know how do you get these High and Low values, and what are the values of above two tags.

Yuan


The actual data values are ok and the image is correctly geolocated. It seems that there may be max/min header or tag information that may be missing.

Thanks,
Steve