Commit 4b9f1130 authored by Biersteker, Levi's avatar Biersteker, Levi
Browse files

Added sovon support

parent 6499858e
......@@ -39,7 +39,14 @@ def mnp_hokaggregation(hok_csv, hokken_polygon_path, background_raster_path, out
counts.columns = colnames
counthokken = pd.merge(hokken, counts, on="ID")
if "COUNT_KEY_VALUE" in colnames:
if "MEAN" in colnames:
bounds = np.round(np.arange(1,counts.MEAN.max(),counts.MEAN.max()/6),1)
explabel = "_"
valuecolumn = "MEAN"
extend = "max"
ylabel_text = "Number of observations in SOVON"
elif "COUNT_KEY_VALUE" in colnames:
bounds = np.array([1, 10, 100, 1000, 10000, 40000])
explabel = "_"
valuecolumn = "COUNT_KEY_VALUE"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment