1

I want to remove zero value pixels from MODIS LST raster images and apply a moving window that can only substitute the missing values and leave the other original values with out alteration. I have tried this raster Calculator command from (Filling NoData gaps in raster using ArcGIS Desktop?)

Con(IsNull("raster"),FocalStatistics("raster",NbrRectangle(5,5,"CELL"),"MEAN"),"raster")

However the resulting raster image does not have attribute table. Since I have many raster images I want to do this work in ModelBuilder, this is just a process to check before going to ModelBuilder. Some of the rasters have many zero values(missing values) and I am not sure whether this affects the focal statistics or not.

What should I do?

New contributor
Temesgen Kahsai is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 2
    That will return a floating point raster which cannot have an attribute table. If you really need an attribute table you will need to convert to an integer data type raster. See this answer: gis.stackexchange.com/a/78109/70980 – Jacob F Mar 14 at 19:31

Your Answer

Temesgen Kahsai is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.