Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Class used to calculate water quality index
  • Loading branch information
rowvigor committed Feb 13, 2018
1 parent a1fe30d commit 7987a5c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions utils/nsf_water_quality_index_calc.py
@@ -0,0 +1,27 @@
from log import log

class nsf_water_quality_index_calc(object):


def __init__(self):
# REF: http://home.eng.iastate.edu/~dslutz/dmrwqn/water_quality_index_calc.htm
pass

def calc(self,
dissolved_oxygen = None,
fecal_coliform = None,
ph = None,
biochemical_oxygen_demand = None,
temperature_change = None,
total_phosphate = None,
nitrates = None,
turbidity = None,
total_solids = None):
''' this method calculates the water quality index '''

return 0


if __name__ == "__main__":
nsf = nsf_water_quality_index_calc()
log( "NSF Water Quality Index: %s" % nsf.calc(),"success")

0 comments on commit 7987a5c

Please sign in to comment.