doc & scripts update
Add docs
update the URL part of the loading script
Why change configures from "station/event" to "train/test"?
_URLS = {
"train": [f"{_REPO_NC}/{x}" for x in _FILES_NC[:-1]] + [f"{_REPO_SC}/{x}" for x in _FILES_SC[:-1]],
"test": [f"{_REPO_NC}/{x}" for x in _FILES_NC[-1:]] + [f"{_REPO_SC}/{x}" for x in _FILES_SC[-1:]],
We can have both in the configure, even for each year, so that it is easy to only download one year's data.
Why change configures from "station/event" to "train/test"?
_URLS = {
"train": [f"{_REPO_NC}/{x}" for x in _FILES_NC[:-1]] + [f"{_REPO_SC}/{x}" for x in _FILES_SC[:-1]],
"test": [f"{_REPO_NC}/{x}" for x in _FILES_NC[-1:]] + [f"{_REPO_SC}/{x}" for x in _FILES_SC[-1:]],
I just found 'event' and 'station' use the same files. And it makes split train/test for the whole dataset easier:
if self.config.name in ["station", "event"]:
urls = _URLS["train"] + _URLS["test"]
elif self.config.name in ["station_train", "event_train"]:
urls = _URLS["train"]
elif self.config.name in ["station_test", "event_test"]:
urls = _URLS["test"]