datapoint-python icon indicating copy to clipboard operation
datapoint-python copied to clipboard

Forecast now function allow "plus an hour"

Open jacobtomlinson opened this issue 10 years ago • 2 comments

Currently the forecast object has a method called now() which returns the current timestep from that forecast.

It would be good to be able to provide a datetime object as an argument to return different timesteps.

jacobtomlinson avatar Oct 20 '14 12:10 jacobtomlinson

This will probably require #2 and #3 to be completed first.

jacobtomlinson avatar Oct 21 '14 10:10 jacobtomlinson

forecast.future() provides functionality to get the forecast for a point in the future, given by the number of days, hours etc. in the future.

I think the best thing to do is to have one function to return the forecast at a time in the future (a new function) and another to return the forecast some amount of time in the future (what forecast.future() does).

Perseudonymous avatar Apr 08 '19 17:04 Perseudonymous