Skip to content

Commit c2e5e0d

Browse files
committed
Trying to get data keys to download
1 parent 66f790a commit c2e5e0d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

earthpy/io.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def get_data(self,
148148
>>> et.data.get_data(url=url) # doctest: +SKIP
149149
150150
"""
151-
151+
152152
if (key is not None) + (url is not None) + (title is not None) > 1:
153153
raise ValueError(
154154
"The `key`, `url`, and `title` parameters are mutually "
@@ -170,7 +170,7 @@ def get_data(self,
170170
"Key '" + key + "' not found in earthpy.io.DATA_URLS. "
171171
"Choose one of: {}".format(pretty_keys)
172172
)
173-
173+
self.path /= key
174174
this_data = DATA_URLS[key]
175175

176176
if title is not None:
@@ -225,9 +225,7 @@ def get_data(self,
225225
this_data = [this_data]
226226

227227
data_paths = []
228-
print(this_data)
229228
for url, name, kind in this_data:
230-
print(name)
231229

232230
if kind not in ALLOWED_FILE_TYPES:
233231
raise ValueError(

0 commit comments

Comments
 (0)