Skip to content

set output data type in zonal_stats #76

@benmcdermott

Description

@benmcdermott

Hi there, I've been testing zonal_stats on a large raster containing decimal values. zonal_stats wants to allocate a large array with type float64 - which is unnecessary as my input raster is float32. Would it be possible to set this dtype throughout the calculation as to avoid overuse of memory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions