pywfm.IWFMBudget.get_time_specs#
- IWFMBudget.get_time_specs()#
Return a list of all the time stamps and the time interval for the budget.
- Returns:
dates_list (list) – List of time stamps in the budget.
interval (str) – Time interval for the time stamps.
Example
>>> from pywfm import IWFMBudget >>> bud_file = '../Results/GW.hdf' >>> gw_bud = IWFMBudget(bud_file) >>> dates, output_interval = gw_bud.get_time_specs() >>> dates ['10/01/1990_24:00', '10/02/1990_24:00', '10/03/1990_24:00', '10/04/1990_24:00', ... '07/18/1992_24:00', '07/19/1992_24:00', '07/20/1992_24:00', '07/21/1992_24:00', ...] >>> output_interval '1DAY' >>> gw_bud.close_budget_file()