You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by hu...@apache.org on 2017/03/08 15:43:48 UTC
[2/3] climate git commit: numpy.concatenate => ma.concatenate
numpy.concatenate => ma.concatenate
Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/c6a9ec1e
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/c6a9ec1e
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/c6a9ec1e
Branch: refs/heads/master
Commit: c6a9ec1edd7e7e276d89367ff4f337bb27205f5a
Parents: 9e79a7f
Author: huikyole <hu...@argo.jpl.nasa.gov>
Authored: Tue Mar 7 21:30:17 2017 -0800
Committer: huikyole <hu...@argo.jpl.nasa.gov>
Committed: Tue Mar 7 21:30:17 2017 -0800
----------------------------------------------------------------------
ocw/data_source/local.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/climate/blob/c6a9ec1e/ocw/data_source/local.py
----------------------------------------------------------------------
diff --git a/ocw/data_source/local.py b/ocw/data_source/local.py
index 044e6cb..9801d8a 100644
--- a/ocw/data_source/local.py
+++ b/ocw/data_source/local.py
@@ -417,7 +417,7 @@ def load_WRF_2d_files_RAIN(file_path=None,
if ifile == 0:
values0 = temp_value
else:
- values0 = numpy.concatenate((values0, temp_value))
+ values0 = ma.concatenate((values0, temp_value))
file_object.close()
times = numpy.array(times)
years = numpy.array([d.year for d in times])