Skip to content
Snippets Groups Projects
Verified Commit c9fdb8c6 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix timeres readout

parent fc43a559
No related branches found
No related tags found
No related merge requests found
Pipeline #54003 passed
...@@ -39,14 +39,15 @@ def main(): ...@@ -39,14 +39,15 @@ def main():
print("Reading data...") print("Reading data...")
df = pd.read_csv( df = pd.read_csv(
args['TIME_RESIDUALS_FILE'], args['TIME_RESIDUALS_FILE'],
names=["run", "timestamp", "du", "floor", "dom_id", "t_res", "Q"] names=["run", "timestamp", "du", "floor", "dom_id", "t_res", "Q"],
header=1,
) )
df = df[df.timestamp > time.time() - 60 * 60 * hours] df = df[df.timestamp > time.time() - 60 * 60 * hours]
print(f" -> number of entries: {len(df)}") print(f" -> number of entries: {len(df)}")
fig, axes = plt.subplots(nrows=6, fig, axes = plt.subplots(nrows=6,
ncols=3, ncols=3,
figsize=(16, 16), figsize=(32, 48),
sharex=True, sharex=True,
sharey=False, sharey=False,
constrained_layout=True) constrained_layout=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment