edgi-govdata-archiving / ECHO-Sunrise

An Environmental Enforcement Watch partnership with Sunrise Boston hubs
https://colab.research.google.com/github/edgi-govdata-archiving/ECHO-Sunrise/blob/main/ECHO-Sunrise.ipynb
GNU General Public License v3.0
1 stars 2 forks source link

The last mapping cell does not work for CAA violations and penalties. #26

Closed maalvikabhat closed 4 years ago

ericnost commented 4 years ago

Steve, would you be willing to help look into this? Here is the error:

image

This appears to happen when there are few facilities or violations/penalties. The quantile function produces 'nan' for some reason.

shansen5 commented 4 years ago

It can't compute quantiles on small sets. Added test for small sets and for NaN quantiles, and use default radius for marker. In sh_issues branch.

ericnost commented 4 years ago

Awesome, thanks!