Skip to content

Update zonalinfo.py to leave NaN-represented NODATA out of computed averages #20

Description

@tmcphillips

When averaging over a region the pixels given NODATA values are ignored during computation when the NODATA value has a numerical value. We need to make sure that this is the case also when NODATA is represented by NaN.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions