Commit graph

52 commits

Author SHA1 Message Date
bc6a5a3018 Make some methods private 2024-02-22 11:35:57 +01:00
2436928e7a Refactor contructors for class Power 2024-02-22 11:32:20 +01:00
d1bae309a9 Reimplement from_list in terms of pandas 2024-02-21 15:55:05 +01:00
711daa3a5d Intercept empty query resutls 2024-02-21 14:58:35 +01:00
c2b5732be8 Use variable-length method arguments for convenience 2024-02-21 14:41:19 +01:00
20cf200053 Fix timestamps for filename 2024-02-20 16:52:27 +01:00
277b3e936e Print power values of all nodes, including missing ones 2024-02-20 16:51:32 +01:00
5b07b407de Refactor pretty_print to outine to_csv 2024-02-20 16:49:32 +01:00
c22959f4b9 Refactor class Power to use pandas dataframes 2024-02-20 14:21:12 +01:00
eeba6f7942 Read into pandas dataframe to compute consumed energy 2024-02-16 16:01:28 +01:00
d355d7b348 Fix namespace bug 2024-02-16 15:59:15 +01:00
f8b0f86f22 Update README 2024-02-15 11:18:11 +01:00
11f334d2b4 Improve parsing of job IDs 2024-02-15 11:06:54 +01:00
a5435e65dc Save warnings in output 2024-02-15 10:29:45 +01:00
1f7dbd80b3 Refactor variable name 2024-02-13 14:34:08 +01:00
9c0bfd79f9 Add nodes to output 2024-02-12 17:37:40 +01:00
87a0f17b28 Preserve order of nodes 2024-02-12 17:37:40 +01:00
f58a6d62ab State and check assumptions in Power.from_list() 2024-02-12 17:37:40 +01:00
fa1f981f89 Power class knows nothing about actual delta_t in outputs 2024-02-12 16:29:25 +01:00
ff7da8b8a2 Fix various broken symbols 2024-02-07 16:03:39 +01:00
1e09e93400 Add query and warnings for hawk-ai jobs 2024-02-07 15:54:13 +01:00
a484711971 Replace explicit query string with function in TimescaleDB 2024-02-07 15:24:01 +01:00
8543446b91 Warn if interval is short 2024-02-07 14:15:04 +01:00
c7c4460196 Log command line in output files 2024-02-07 11:31:30 +01:00
e73f69f25e Swap order of query output tuple 2024-02-07 10:20:13 +01:00
ae00b04bbe Outline query string as class constant 2024-02-06 09:04:52 +01:00
c2bf0cb74b Update query string re new naming of tables 2024-01-26 11:35:44 +01:00
03a35834a1 Add source reference for SQL query string 2024-01-12 13:37:02 +00:00
cb0bc18785 Add python3 shebang 2023-11-22 16:04:30 +01:00
df11a511ce Update README 2023-11-22 14:55:44 +01:00
f6991fb57b Fix unknown symbol 2023-11-22 14:46:51 +01:00
e6b291daa7 Call method through self 2023-11-22 14:46:25 +01:00
4a2107d6df Add argument for interval and report in output 2023-11-22 14:45:14 +01:00
6ff52227ef Decouple argument parser from sys.argv 2023-11-22 14:35:19 +01:00
3843ce1350 Update monitoring/db/README.md 2023-11-22 11:32:41 +01:00
5f4765d196 Update of README 2023-11-22 11:18:36 +01:00
c0f6adcf67 Remove debug output and fix whitespace 2023-11-22 11:03:56 +01:00
035803fbe2 Error handling for jobid without data 2023-11-22 10:52:49 +01:00
ee106619ea Outline main into class 2023-11-22 10:30:36 +01:00
36bfb06228 Add factory function for power from data base 2023-11-22 09:01:05 +01:00
f9ebd68654 Refactor database class for multiple querries 2023-11-20 16:50:22 +01:00
9294b04291 Introduce class for database handling 2023-11-20 16:23:36 +01:00
bacc9e63c9 Use config object 2023-11-20 16:19:34 +01:00
8596fb4184 Remove/comment debug output 2023-11-20 16:04:19 +01:00
f90b3fc1da Rearrange class methods 2023-11-20 15:53:52 +01:00
3a8170e7c9 Add missing import statement 2023-11-20 11:39:11 +01:00
294a4e1273 Add argument parser 2023-11-17 16:25:51 +01:00
b54e31f4fd Lazy import of sqlalchemy 2023-11-17 16:24:00 +01:00
3d52b1b2c7 Format README 2023-11-17 16:20:57 +01:00
831a85639b Add prototype to query job power from database 2023-10-26 16:19:16 +02:00