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 2016/07/06 04:57:40 UTC
[1/2] climate git commit: CLIMATE-823 - An error from CLIMATE-812
Repository: climate
Updated Branches:
refs/heads/master bbbe770e2 -> d58034c99
CLIMATE-823 - An error from CLIMATE-812
- A very critical typo in ocw.dataset_processor.spatial_regrid has been corrected.
Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/6dd6dc75
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/6dd6dc75
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/6dd6dc75
Branch: refs/heads/master
Commit: 6dd6dc7528fd3b96e057cda3c7057739f0443a67
Parents: bbbe770
Author: huikyole <hu...@argo.jpl.nasa.gov>
Authored: Tue Jul 5 21:21:43 2016 -0700
Committer: huikyole <hu...@argo.jpl.nasa.gov>
Committed: Tue Jul 5 21:21:43 2016 -0700
----------------------------------------------------------------------
ocw/dataset_processor.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/climate/blob/6dd6dc75/ocw/dataset_processor.py
----------------------------------------------------------------------
diff --git a/ocw/dataset_processor.py b/ocw/dataset_processor.py
index 9ab4e50..a4eb090 100755
--- a/ocw/dataset_processor.py
+++ b/ocw/dataset_processor.py
@@ -255,7 +255,7 @@ def spatial_regrid(target_dataset, new_latitudes, new_longitudes,
mn = lats.min()
mx = lats.max()
new_lats_indices[iy, ix] = (
- ny_old - 1.) * (new_lats[iy, ix] - mn / (mx - mn))
+ ny_old - 1.) * (new_lats[iy, ix] - mn)/ (mx - mn)
mn = lons.min()
mx = lons.max()
new_lons_indices[iy, ix] = (
[2/2] climate git commit: CLIMATE-823 - An error from CLIMATE-812
Posted by hu...@apache.org.
CLIMATE-823 - An error from CLIMATE-812
Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/d58034c9
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/d58034c9
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/d58034c9
Branch: refs/heads/master
Commit: d58034c992ce31806189bd3a91cffc2edfab58da
Parents: bbbe770 6dd6dc7
Author: huikyole <hu...@argo.jpl.nasa.gov>
Authored: Tue Jul 5 21:57:11 2016 -0700
Committer: huikyole <hu...@argo.jpl.nasa.gov>
Committed: Tue Jul 5 21:57:11 2016 -0700
----------------------------------------------------------------------
ocw/dataset_processor.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------