add simple file showing how to use data
This commit is contained in:
parent
2cdead7e52
commit
db1bb89fbd
1 changed files with 14 additions and 0 deletions
14
inspect.py
Normal file
14
inspect.py
Normal 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)
|
Reference in a new issue