I am using the landsat tree cover continuous fields dataset from Hansen et al. (2013) to calculate the mean forest cover within HUC 12 watershed boundaries. However I can't seem to figure out how to calculate the mean. The attribute table for the data does not contain the pixel values (0-100) for percent canopy cover. I can only find these by identifying a certain pixel or by looking in the metadata. I tried copying the metadata into excel but there are way too many zeros. There has to be a way to do this.

See the attached images. The one labeled attribute table shows that the pixel values do not show up in the attribute table. The next image labeled PXVL shows that when you identify a pixel the value shows up. The image attached labeled metadata shows the metadata for the image and that there are a lot of zeroes that surround the outline of the image in this dataframe. Is there a way to extract these values to calculate the mean?

Any help will be much appreciated!

More Sean C. Emmons's questions See All
Similar questions and discussions