mooflow.utils.full_steps_timediff¶
-
mooflow.utils.
full_steps_timediff
(d1, d2, settingtime=0)¶ calculate the timesteps in weeks, months and days between 2 dates.
- Parameters
- d1datetime or iterable
the starting date as datetime or as [doy, year]
- d2datetime or iterable
the ending date as datetime or as [doy, year]
- Returns
- dictdict
the number of timesteps for month (key 12), week (key 7) and days (key 1)