Rasters.jl
Rasters.jl copied to clipboard
`zonal` can't handle mixed type function output
We need more sophisticated type promotion.
yeah, maybe some introspection on the Julia end as well?
A call to identity.(vec) always worked for me, otherwise :D but it would be slower for known output types
We could do what map does and promote as we go, it's just complicated.
Or use Base.return_type
We'll have to do it at some point, I guess