Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add TODO on humidity, refs #3
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Jun 13, 2017
1 parent 783b105 commit 54b5ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion participants/Forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def process(self, inport, msg):
forecast = station.copy()
dof = datetime.datetime.today().weekday()
hour = datetime.datetime.today().hour
# predict_consumption (wdsp,temp,rhum,date_day_code,hour)
# TODO: Calculate humidity from dewpoint
value = predict_consumption(station['wind']['speed'],station['temperature'],78.666667,dof,hour)
print station
print value
Expand Down

0 comments on commit 54b5ba7

Please sign in to comment.