[configuration] height-units = 1 width-units = 2 context-path = /hbs metric = ca.reservoir_elevation_feet timespan = 1 day add-meta = true [group] entities = ca.alm, ca.ant, ca.ber, ca.blb, ca.boc, ca.buc, ca.bul, ca.cas, ca.cfw, ca.cle, ca.cmn, ca.coy, ca.dav, ca.dnn, ca.dnp, ca.eng, ca.epk, ca.exc, ca.fol, ca.frd, ca.frm, ca.hid, ca.ich, ca.inv, ca.isb, ca.kes, ca.lew, ca.lon, ca.mcs, ca.mil, ca.mrt, ca.nhg, ca.nml, ca.oro, ca.par, ca.pnf, ca.pra, ca.prs, ca.pym, ca.sat, ca.scc, ca.sha, ca.slb, ca.snl, ca.stg, ca.stp, ca.tab, ca.trm, ca.unv, ca.whi, ca.wrs [widget] title = Reservoir Capacity, acre-feet. Threshold set at 95% type = treemap color-range = blue metric = ca.reservoir_storage_af label-format = meta.entity.tags.dam_name

meta.entity.tags.stream size = +meta().entity.tags['storage_capacity_ac-ft'] [series] metric = ca.reservoir_elevation_feet statistic = detail color = ((1 - (meta().entity.tags.crest_elevation_ft - value)/meta().entity.tags.height_ft)*100 >= 100) ? 'black': (((1 - (meta().entity.tags.crest_elevation_ft - value)/meta().entity.tags.height_ft)*100 >= 95))?'orange':'steelblue' [widget] title = Reservoir Elevation type = table column-metric = null #column-time = null column-entity = null [column] key=dam series-value= meta().entity.tags.dam_name [column] key=stream series-value= meta().entity.tags.stream [column] key = value label = Elevation, ft [column] key = delta series-value = delta label = Daily Change, ft format = decimal(1) [column] key = crest label = Crest, ft series-value = +meta().entity.tags.crest_elevation_ft [column] key = remain label = Remaining, ft series-value = meta().entity.tags.crest_elevation_ft - value [column] key = full_percentage label = Full, % series-value = (1 - (meta().entity.tags.crest_elevation_ft - value)/meta().entity.tags.height_ft)*100 format = percent(2) row-style = value >100 ? "background-color: black; color: white" : (value > 95)?"background-color: orange":"" [series] alert-expression = (1 - (meta().entity.tags.crest_elevation_ft - value)/meta().entity.tags.height_ft) > 0.97 sort = full_percentage desc