0

I am using a CHIRPS raster image on ArcGIS 10.6 and there is no attribute table, I need the pixel values as it is the individual rainfall data for the stations to perform further statistics on.

How can I get all the pixel values? W

hen I use the identify icon it the pixel value does come up, however it is impractical to do this for an entire country.

  • Sounds like you want Zonal Statistics. You will need country borders, for example as vector data. – BERA Nov 2 '18 at 15:45
1

If you want to open the attribute table of raster data, you need to convert the Pixel Type from floating point to signed integer. This can be done if you have Spatial Analyst extension.

With Spatial Analyst you can use Raster Calculator to convert the Pixel type from floating point to signed integer using the following formula:

Int(RoundDown("YourRasterImage"))     # You can use RoundUp() also, it is up to you

I tested CHIRPS raster data with a pixel type of floating point, the attribute table is not active:

enter image description here

After converting the pixel type to signed integer using the above formula, the attribute table becomes active:

enter image description here

Here is the attribute table:

enter image description here

0

If I understand well, you need the data in text format.

So you could export your shapefile in ascii (conversion tools > from raster) or, if you do not have too many pixels, convert your raster the points (then you can read the pixels values in the attribute table, add labels on each point and further export this table as a text file utilities > feature to ascii)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.