impactlab / eemeter

‼️ MOVED TO https://github.com/openeemeter/eemeter - Core computation engine for the Open Energy Efficiency Meter
https://eemeter.readthedocs.io/
MIT License
25 stars 13 forks source link

Consolidate weather source API #65

Closed philngo closed 9 years ago

philngo commented 9 years ago

Go from this:

ws.get_cdd(periods,unit,base)
ws.get_period_cdd(periods,unit,base)
ws.get_cdd_per_day(periods,unit,base)
ws.get_period_cdd_per_day(periods,unit,base)

to this:

ws.cdd(period or periods, unit, base, per_day=False)
philngo commented 9 years ago

0cb5bbf3eeaa41dc1518546fc5fa0f4f56ba902a implements this. Changes include removing "get_" prefix in most portions of the exposed API.