laptop and a wrench

Bug

arcpy.Raster uncompressedSize property returns only the size of the first raster band.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM080824
SubmittedMay 15, 2012
Last ModifiedApril 2, 2025
Applies toNo Product Found
Version found10.0
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Use the following Python code to multiply the returned value by the number of bands to give total size.import arcpyraster = arcpy.Raster("inputRaster.tif")bands = raster.bandCountsize = raster.uncompressedSize * bandspri

Steps to Reproduce

Bug ID: NIM080824

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options