Skip to content
Snippets Groups Projects

Resolve "Use Toar statistics api v2"

Merged Ghost User requested to merge lukas_issue454_feat_use-toar-statistics-api-v2 into develop
@@ -295,11 +295,12 @@ class PreProcessing(RunEnvironment):
else: # serial solution
logging.info("use serial validate station approach")
kwargs.update({"return_strategy": "result"})
for station in set_stations:
for i, station in enumerate(set_stations):
dh, s = f_proc(data_handler, station, set_name, store_processed_data, **kwargs)
if dh is not None:
collection.add(dh)
valid_stations.append(s)
logging.info(f"...finished: {s} ({int((i + 1.) / len(set_stations) * 100)}%)")
logging.info(f"run for {t_outer} to check {len(set_stations)} station(s). Found {len(collection)}/"
f"{len(set_stations)} valid stations ({set_name}).")
Loading