You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Maziyar Boustani (JIRA)" <ji...@apache.org> on 2014/05/29 00:58:02 UTC

[jira] [Created] (CLIMATE-448) 'decode_time_values' on utils.py should be more accurate to get 'next-month'

Maziyar Boustani created CLIMATE-448:
----------------------------------------

             Summary: 'decode_time_values' on utils.py should be more accurate to get 'next-month'
                 Key: CLIMATE-448
                 URL: https://issues.apache.org/jira/browse/CLIMATE-448
             Project: Apache Open Climate Workbench
          Issue Type: Bug
            Reporter: Maziyar Boustani
            Assignee: Maziyar Boustani


'dateutil.relativedelta' library does better on getting 'next-month' dateitme, so need to be replaced with code below.
 
{code}
        for time_val in time_data:
            print time_val
            num_days = 30 * time_val
            times.append(time_base + dt.timedelta(days=num_days))
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)