Skip to content

Check nan handling in aggregation #26

@delgadom

Description

@delgadom

Proposed spec:

For a given region to be aggregated:

  • If there are no NaNs in a region, you're good. Just aggregate the data.
  • If a NaN is present in a region, but the region is not entirely NaNs, then make sure to not drop any weight, but to aggregate the data in the region using the weight in the non-nan pixels
  • If an entire region is NaN, the output should be NaN

Note that no interpolation is done in time, space, or any other dimensions with these tools

This should be tested in the output

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