diff --git a/simulation/simulate.py b/simulation/simulate.py index 46bb91b..8049a12 100644 --- a/simulation/simulate.py +++ b/simulation/simulate.py @@ -76,13 +76,13 @@ with conn: category = 'Outdoor' and location = 'Outdoor' and extract('hour' from time) = 12 and - extract('year' from time) = 2022 + extract('year' from time) = 2023 group by day order by day """) res = cur.fetchall() temperatures = [ x[1] for x in res ] - # print(json.dumps(temperatures)) + print(json.dumps(temperatures)) conn.close() min_t = min(temperatures) diff --git a/simulation/temperature-2022.png b/simulation/temperature-2022.png new file mode 100644 index 0000000..e71e91d Binary files /dev/null and b/simulation/temperature-2022.png differ diff --git a/simulation/temperature.png b/simulation/temperature.png index e71e91d..7ed94ed 100644 Binary files a/simulation/temperature.png and b/simulation/temperature.png differ