Add weighted quantile statistic
@arschultz Add weighted-quantile statistic, for now we can just focus on the 50% or median. Here is an example function I found: https://github.com/nudomarinero/wquantiles/blob/a6e8bc8ebacbcb5691f0dc4fbad0b6895170dda9/wquantiles.py#L57 If you decide to adopt this function, I guess I'd prefer we write our own so we can build it into our testing. Just make sure to attribute the source in the code as a comment, and we can also attribute it in the docs as well in the reference section.
Tasks:
- [] Build the quantile function for adding median.
- [] Build a testing function for the quantile function.
- [] Add ability to calculate multiple statistics: So add statistics as a list of stats similar to zonal stats function and work through generating the output contain the list of statistics. Once that is in place we can discuss what other statistics we'd like to add.
- [] build the multiple stat capability into the existing test functions.
Please add your thumbs up to acknowledge this new issue.