|
31 | 31 | from skdaccess.utilities import pbo_util |
32 | 32 | from skdaccess.utilities import data_util |
33 | 33 |
|
34 | | -#IGNORE THIS LINE |
| 34 | +# Import datawrapper |
35 | 35 | from skdaccess.geo.pbo.data_wrapper import DataWrapper |
36 | 36 |
|
37 | 37 | # 3rd party package imports |
@@ -82,6 +82,7 @@ def __init__(self, start_time, end_time, lat_range, lon_range, ap_paramList, mdy |
82 | 82 |
|
83 | 83 | def setStationList(self, station_list): |
84 | 84 | self.station_list = station_list |
| 85 | + |
85 | 86 |
|
86 | 87 | def stationCheck(self): |
87 | 88 | ''' |
@@ -115,10 +116,7 @@ def stabilize(self): |
115 | 116 |
|
116 | 117 | storeName = self.meta_data |
117 | 118 |
|
118 | | - storeData_fn = data_util.getDataLocation('pbo') |
119 | | - if storeData_fn is None: |
120 | | - print('Dataset not available') |
121 | | - return None |
| 119 | + storeData_fn = data_util.getDataLocation('pbo') |
122 | 120 |
|
123 | 121 | storeData = pd.HDFStore(storeData_fn) |
124 | 122 |
|
@@ -147,10 +145,7 @@ def rawData(self): |
147 | 145 | storeName = self.meta_data |
148 | 146 |
|
149 | 147 | storeData_fn = data_util.getDataLocation('pbo') |
150 | | - if storeData_fn is None: |
151 | | - print('Dataset not available') |
152 | | - return None |
153 | | - |
| 148 | + |
154 | 149 | storeData = pd.HDFStore(storeData_fn) |
155 | 150 |
|
156 | 151 | mdyratio = self._mdyratio |
@@ -243,9 +238,6 @@ def getStationMetadata(): |
243 | 238 | ''' |
244 | 239 |
|
245 | 240 | storeData_fn = data_util.getDataLocation('pbo') |
246 | | - if storeData_fn is None: |
247 | | - print('Dataset not available') |
248 | | - return None |
249 | 241 |
|
250 | 242 | store = pd.HDFStore(storeData_fn, 'r') |
251 | 243 | meta_frame = store['meta_data'] |
|
0 commit comments