landscape warning have been fixed
Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/f3c069a9 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/f3c069a9 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/f3c069a9 Branch: refs/heads/master Commit: f3c069a91ce1af29bf02acf7cfe342a7be6a6605 Parents: 39e9e2c Author: huikyole <huiky...@argo.jpl.nasa.gov> Authored: Wed Nov 9 08:26:28 2016 -0800 Committer: huikyole <huiky...@argo.jpl.nasa.gov> Committed: Wed Nov 9 08:26:28 2016 -0800 ---------------------------------------------------------------------- ocw/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/f3c069a9/ocw/utils.py ---------------------------------------------------------------------- diff --git a/ocw/utils.py b/ocw/utils.py index df9a0a6..6f8da77 100755 --- a/ocw/utils.py +++ b/ocw/utils.py @@ -70,8 +70,8 @@ def decode_time_values(dataset, time_var_name): times = num2date( time_data[:], units=time_format, calendar=times_calendar) if times_calendar == '360_day': - for it,t in enumerate(times): - times[it] = dt.datetime.strptime(str(t),'%Y-%m-%d 00:00:00') + for it, t in enumerate(times): + times[it] = dt.datetime.strptime(str(t), '%Y-%m-%d 00:00:00') return times