How to count the number of pixels with a value at each location in a numpy dstack arr

المشرف العام

Administrator
طاقم الإدارة
Hello friendly GIS/python adventurers,

I have a numpy.darray that is a stack of MODIS rasters. I would like to create a 2-d array that holds the counts of pixels that contain a value for each location. Can you help me with this?

thank you,



أكثر...
 
أعلى