isciences / exactextractr

R package for fast and accurate raster zonal statistics
https://isciences.gitlab.io/exactextractr/
272 stars 26 forks source link

Enable extraction from rasters with >1 band #94

Closed jonibio closed 1 year ago

jonibio commented 1 year ago

It seems like using exactextractr::exact_extract with rasters that have more than 1 band returns "Error: [names<-] incorrect number of names"

dbaston commented 1 year ago

I think this is an issue in terra; please try updating that package.

jonibio commented 1 year ago

Thanks for the quick reply!

From: Dan Baston @.> Sent: Friday, January 6, 2023 17:59 To: isciences/exactextractr @.> Cc: Johannes Breidenbach @.>; Author @.> Subject: Re: [isciences/exactextractr] Enable extraction from rasters with >1 band (Issue #94)

I think this is an issue in terra; please try updating that package.

— Reply to this email directly, view it on GitHubhttps://github.com/isciences/exactextractr/issues/94#issuecomment-1373894052, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF2CY44HCF5Q4MZU77K6QVDWRBFMFANCNFSM6AAAAAATTIJGWQ. You are receiving this because you authored the thread.Message ID: @.**@.>>