Skip to content
Prev 21375 / 29559 Next

raster::extract fails on brick but works on individual layers of brick

Hi Lydon,

Thanks for the work around! I can use that for now, but it is still not 
clear to me why the extract/mean works on each individual layer but not 
on the brick. When I've used extract() on bricks in the past it will 
return a mean (or whatever function) value for each layer of the brick 
(but much faster than doing it individually).

In this case, since I can use extract(..,..,mean) on each individual 
layer without error, which led me to believe this may be a bug.

Regardless, I appreciate the help.

Thanks again,

F
On 7/23/14 10:07 AM, Lyndon Estes wrote: