climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omk...@apache.org
Subject [10/16] climate git commit: Reverifying all imports and tests
Date Sat, 27 Aug 2016 03:42:32 GMT
Reverifying all imports and tests


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

Branch: refs/heads/master
Commit: 0a9d6b4ff80d0d03aeec019030e5bcdd187e8f55
Parents: 02e5c2b
Author: Omkar20895 <omkarreddy2008@gmail.com>
Authored: Thu Aug 25 20:27:10 2016 +0530
Committer: Omkar20895 <omkarreddy2008@gmail.com>
Committed: Thu Aug 25 20:27:10 2016 +0530

----------------------------------------------------------------------
 examples/podaac_integration_example.py | 5 +++--
 ocw/dataset_loader.py                  | 2 +-
 ocw/tests/test_podaac.py               | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/0a9d6b4f/examples/podaac_integration_example.py
----------------------------------------------------------------------
diff --git a/examples/podaac_integration_example.py b/examples/podaac_integration_example.py
index d68f747..9194e9f 100644
--- a/examples/podaac_integration_example.py
+++ b/examples/podaac_integration_example.py
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-import ocw.data_source.podaac as podaac
+import ocw.data_source.podaac_datasource as podaac
 import ocw.evaluation as evaluation
 import ocw.metrics as metrics
 import ocw.plotter as plotter
@@ -29,7 +29,8 @@ OUTPUT_PLOT = "cmc_temporal_std"
 print("Loading %s dataset into an OCW dataset objects" % datasetShortName)
 cmc_dataset = podaac.load_dataset(
     variable=variable, datasetId=datasetId, datasetShortName=datasetShortName, name=name)
-print("CMC_Dataset.values shape: (times, lats, lons) - %s \n" % (cmc_dataset.values.shape,))
+print("CMC_Dataset.values shape: (times, lats, lons) - %s \n" %
+      (cmc_dataset.values.shape,))
 
 # Acessing latittudes and longitudes of netCDF file
 lats = cmc_dataset.lats

http://git-wip-us.apache.org/repos/asf/climate/blob/0a9d6b4f/ocw/dataset_loader.py
----------------------------------------------------------------------
diff --git a/ocw/dataset_loader.py b/ocw/dataset_loader.py
index a4f3466..ed8fdb0 100644
--- a/ocw/dataset_loader.py
+++ b/ocw/dataset_loader.py
@@ -24,7 +24,7 @@ import ocw.data_source.local as local
 import ocw.data_source.esgf as esgf
 import ocw.data_source.rcmed as rcmed
 import ocw.data_source.dap as dap
-import ocw.data_source.podaac as podaac
+import ocw.data_source.podaac_datasource as podaac
 
 
 class DatasetLoader:

http://git-wip-us.apache.org/repos/asf/climate/blob/0a9d6b4f/ocw/tests/test_podaac.py
----------------------------------------------------------------------
diff --git a/ocw/tests/test_podaac.py b/ocw/tests/test_podaac.py
index b2d4402..3e2dafd 100644
--- a/ocw/tests/test_podaac.py
+++ b/ocw/tests/test_podaac.py
@@ -16,7 +16,7 @@
 # under the License.
 
 
-import ocw.data_source.podaac as podaac
+import ocw.data_source.podaac_datasource as podaac
 import unittest
 import os
 import datetime as dt


Mime
View raw message