Commit 629b8567 authored by Youcef Aouad's avatar Youcef Aouad
Browse files

data view complete pols

No related merge requests found
Pipeline #57766 passed with stages
in 57 seconds
Showing with 19 additions and 0 deletions
+19 -0
......@@ -636,6 +636,25 @@ class AdisTSlc(AdisTS):
print(data_tmp["AAA-silt"])
pollutants_keys = list(data_tmp.keys())
timestamps_keys = list(data_tmp[pollutants_keys[0]].keys())
phys_data_names = list(data_tmp[pollutants_keys[0]][timestamps_keys[0]].keys())
print("pol keys: ", pollutants_keys)
print("t keys: ", timestamps_keys)
print("phys var: ", phys_data_names)
for i in range(ismax):
reach = ip_to_r(i)
p_i = ip_to_ri(reach, i)
for t_data in timestamps_keys:
pol_view = []
for pol in pollutants_keys:
pol_view.append(set(data_tmp[pol][t_data].values()))
reach.set(p_i, t_data, "pols", pol_view)
@timer
def results(self, study, repertory, qlog=None, name=None):
self._study = study
......
Supports Markdown
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