You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2014/10/28 17:44:31 UTC

[2/4] git commit: CLIMATE-341: Minor correction to comments in calc_climatology_monthly

CLIMATE-341: Minor correction to comments in calc_climatology_monthly


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/b9dcdcd3
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/b9dcdcd3
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/b9dcdcd3

Branch: refs/heads/master
Commit: b9dcdcd3033eaa9b645e947341da7ea323acac2c
Parents: d9b0e6b
Author: rlaidlaw <rl...@gmail.com>
Authored: Tue Oct 28 01:20:23 2014 -0700
Committer: rlaidlaw <rl...@gmail.com>
Committed: Tue Oct 28 01:20:23 2014 -0700

----------------------------------------------------------------------
 ocw/utils.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/b9dcdcd3/ocw/utils.py
----------------------------------------------------------------------
diff --git a/ocw/utils.py b/ocw/utils.py
index 326cab9..0d8d8b5 100644
--- a/ocw/utils.py
+++ b/ocw/utils.py
@@ -316,14 +316,13 @@ def calc_climatology_season(month_start, month_end, dataset):
 def calc_climatology_monthly(dataset):
     ''' Calculate monthly mean values for a dataset.
 
-    :param dataset: Monthly binned Dataset object with the number of months
-        divisible by 12.
+    :param dataset: Monthly binned Dataset object with the number of months divisible by 12
     :type dataset: ocw.dataset.Dataset object
 
     :returns: Mean values for each month of the year
     :rtype: A 3D numpy array of shape (12, num_lats, num_lons)
 
-    :raise ValueError: If the number of monthly bins is not divisible by 12.
+    :raise ValueError: If the number of monthly bins is not divisible by 12
     '''
 
     if dataset.values.shape[0] % 12: