You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by go...@apache.org on 2013/08/20 19:12:44 UTC
svn commit: r1515886 - in /incubator/climate/trunk/ocw:
data_source/__init__.py data_source/rcmed.py tests/test_rcmed.py
Author: goodale
Date: Tue Aug 20 17:12:44 2013
New Revision: 1515886
URL: http://svn.apache.org/r1515886
Log:
Cleaning up other import issues with modules not using the 'ocw' package name.
Added in __init__.py to make the data_source folder into a module.
Added:
incubator/climate/trunk/ocw/data_source/__init__.py
Modified:
incubator/climate/trunk/ocw/data_source/rcmed.py
incubator/climate/trunk/ocw/tests/test_rcmed.py
Added: incubator/climate/trunk/ocw/data_source/__init__.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw/data_source/__init__.py?rev=1515886&view=auto
==============================================================================
(empty)
Modified: incubator/climate/trunk/ocw/data_source/rcmed.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw/data_source/rcmed.py?rev=1515886&r1=1515885&r2=1515886&view=diff
==============================================================================
--- incubator/climate/trunk/ocw/data_source/rcmed.py (original)
+++ incubator/climate/trunk/ocw/data_source/rcmed.py Tue Aug 20 17:12:44 2013
@@ -27,7 +27,7 @@ import numpy as np
import numpy.ma as ma
from datetime import datetime
import calendar
-from dataset import Dataset
+from ocw.dataset import Dataset
URL = 'http://rcmes.jpl.nasa.gov/query-api/query.php?'
Modified: incubator/climate/trunk/ocw/tests/test_rcmed.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw/tests/test_rcmed.py?rev=1515886&r1=1515885&r2=1515886&view=diff
==============================================================================
--- incubator/climate/trunk/ocw/tests/test_rcmed.py (original)
+++ incubator/climate/trunk/ocw/tests/test_rcmed.py Tue Aug 20 17:12:44 2013
@@ -19,7 +19,7 @@ import unittest
import datetime
import numpy
import pickle
-import data_source.rcmed as rcmed
+import ocw.data_source.rcmed as rcmed
class test_rcmed(unittest.TestCase):