Datasets:
ArXiv:
DOI:
License:
fix
Browse files- quakeflow_nc.py +2 -2
quakeflow_nc.py
CHANGED
@@ -224,8 +224,8 @@ class QuakeFlow_NC(datasets.GeneratorBasedBuilder):
|
|
224 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
225 |
urls = _URLS[self.config.name]
|
226 |
# files = dl_manager.download(urls)
|
227 |
-
|
228 |
-
files = ["waveform_h5/1989.h5", "waveform_h5/1990.h5"]
|
229 |
print(files)
|
230 |
|
231 |
if self.config.name == "station" or self.config.name == "event":
|
|
|
224 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
225 |
urls = _URLS[self.config.name]
|
226 |
# files = dl_manager.download(urls)
|
227 |
+
files = dl_manager.download_and_extract(urls)
|
228 |
+
# files = ["waveform_h5/1989.h5", "waveform_h5/1990.h5"]
|
229 |
print(files)
|
230 |
|
231 |
if self.config.name == "station" or self.config.name == "event":
|