Commit 3725c58e authored by lukas leufen's avatar lukas leufen

Merge branch 'lukas_issue069_bug_check-valid-stations' into 'master'

Resolve "BUG in check valid stations"

Closes #69

See merge request toar/machinelearningtools!62
parents e1bbf647 d7f4ebb0
Pipeline #31543 passed with stages
in 7 minutes and 30 seconds
......@@ -137,9 +137,10 @@ class PreProcessing(RunEnvironment):
for station in all_stations:
# (history, label) = data_gen[station]
data = data_gen.get_data_generator(key=station, load_local_tmp_storage=load_tmp,
if data.history is None:
raise AttributeError
logging.debug(f'{station}: history_shape = {data.history.transpose("datetime", "window", "Stations", "variables").shape}')
logging.debug(f"{station}: loading time = {t_inner}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment