replacing UTM with Poly
incomplete transplant of getDailyFlow methods, not sure where they should be stored (addresses #4)