Spaces:
Runtime error
Runtime error
Ziyou Li
commited on
Commit
·
8fe2fcb
1
Parent(s):
cd83371
Update app.py
Browse files
app.py
CHANGED
@@ -37,9 +37,10 @@ def get_row():
|
|
37 |
fesn1h = json_response_smhi["timeSeries"][0]["parameters"][8]["values"][0] # Snow precipation last hour
|
38 |
vis = json_response_smhi["timeSeries"][0]["parameters"][9]["values"][0] # Visibility
|
39 |
|
40 |
-
|
|
|
41 |
|
42 |
-
row ={"referenceTime":
|
43 |
"t": t,
|
44 |
"ws": ws,
|
45 |
"prec1h": prec1h,
|
|
|
37 |
fesn1h = json_response_smhi["timeSeries"][0]["parameters"][8]["values"][0] # Snow precipation last hour
|
38 |
vis = json_response_smhi["timeSeries"][0]["parameters"][9]["values"][0] # Visibility
|
39 |
|
40 |
+
# Use current time
|
41 |
+
# referenceTime = time.time()
|
42 |
|
43 |
+
row ={"referenceTime": referenceTime,
|
44 |
"t": t,
|
45 |
"ws": ws,
|
46 |
"prec1h": prec1h,
|