1
0
Fork 0

add simple file showing how to use data

This commit is contained in:
Lukas Winkler 2019-07-29 14:02:27 +02:00
parent 2cdead7e52
commit db1bb89fbd
Signed by: lukas
GPG key ID: 54DE4D798D244853

14
inspect.py Normal file
View file

@ -0,0 +1,14 @@
"""
Just a demo file on how to quickly read the dataset
"""
from simulation_list import SimulationList
simlist = SimulationList.jsonlines_load()
for s in simlist.simlist:
if s.type == "original" or s.runid != 223:
continue
print(vars(s))
if s.water_retention_both < 0:
print(s.runid)