[GIS] Building attribute table from raster in ArcMap

arcgis-desktopattribute-tablenetcdfraster

I'm using ArcMap 10.1.

I have a NetCDF file containing the latitude, longitude and porosity for the entire US. I am trying to add another value (wilting point) which depends on the porosity.

I wanted to extract the netcdf to a table, add a new field and then use the field calculator to to fill the values on the new field. But when I import it, I only get one set of values on the table.

I tried approaching it the other way: extracting the NetCDF to raster (which works fine) and extracting the values from the raster using "build raster attribute table" but i get an error message saying "Only single band integer raster dataset is a valid input". it doesn't make sense as the raster is a single band raster (I double checked the properties> number of bands of the raster). HOw can I build a table containing all the entries in the NetCDF file?

Best Answer

If you have a single band raster, then the problem comes from the other constraint : integer type. Your porosity value is probably float.

To solve your problem, you need to build a new raster dataset using "map algebra" (assuming you have the spatial analyst extension). Another solution is to reclassify your raster so that you can build an attribute table, but I recommend the first solution.