next year
This commit is contained in:
@ -76,13 +76,13 @@ with conn:
|
|||||||
category = 'Outdoor' and
|
category = 'Outdoor' and
|
||||||
location = 'Outdoor' and
|
location = 'Outdoor' and
|
||||||
extract('hour' from time) = 12 and
|
extract('hour' from time) = 12 and
|
||||||
extract('year' from time) = 2022
|
extract('year' from time) = 2023
|
||||||
group by day
|
group by day
|
||||||
order by day
|
order by day
|
||||||
""")
|
""")
|
||||||
res = cur.fetchall()
|
res = cur.fetchall()
|
||||||
temperatures = [ x[1] for x in res ]
|
temperatures = [ x[1] for x in res ]
|
||||||
# print(json.dumps(temperatures))
|
print(json.dumps(temperatures))
|
||||||
conn.close()
|
conn.close()
|
||||||
|
|
||||||
min_t = min(temperatures)
|
min_t = min(temperatures)
|
||||||
|
BIN
simulation/temperature-2022.png
Normal file
BIN
simulation/temperature-2022.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 753 B |
Reference in New Issue
Block a user