Skip to content

Add option for nearest-value when clipping yields empty set #23

@kfrey-idm

Description

@kfrey-idm

I tried using the clipping function to get average malnutrition values rather than total populations and got some NaNs back.

Dejan already included a way of passing in a custom summary function to the clipping method so I can get apply mean() rather than sum(), but average of an empty set isn't defined and in those cases what I'd actually like is something like nearest value

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions