65 Commits

Author SHA1 Message Date
Michael Osthege
2c1dd7a1fd Fix matplotlib warning about xticklabels 2024-10-09 17:05:36 +02:00
Andreas
004e1f3dc7 [BUG]: class_ems nd_array not JSON serializable
Big Bugfix - not sure if everything works
2024-10-09 16:59:50 +02:00
Andreas
e72008471f JSON Response fixed 2024-10-09 16:59:50 +02:00
Normann
1e78abb074 convert np arrys to lists before changing 2024-10-08 18:55:51 +02:00
Normann
62339a0e6c set current hour value None in class_ems.py 2024-10-08 18:55:51 +02:00
Normann
3050320607 remove unused function
replace_nan_with_none(data) is not needed anymore since we don't have any NaN values. Another 13% speed increase.
2024-10-08 18:55:51 +02:00
Normann
03efff52d9 TypeGuard[float] added to isfloat 2024-10-08 07:53:07 +02:00
Normann
76be16b06a empty line added 2024-10-08 07:53:07 +02:00
Normann
cbfd7c45c7 import sort#2 2024-10-08 07:53:07 +02:00
Normann
b54b4f8228 sort imports 2024-10-08 07:53:07 +02:00
Normann
290e6293f2 moved isfloat(num)
improved isfloat for case "None" and strings with surrounding whitespace and special types like +-inf.
2024-10-08 07:53:07 +02:00
Normann
2613e71bda remove isfloat()
function is not used here
2024-10-08 07:53:07 +02:00
Bobby Noelte
b9f65ef7db Adapt data to package directory structure.
Move static data to server package directory.
Assure data/*.npz data is included in the server package.

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 17:51:44 +02:00
Bobby Noelte
7d25194585 Adapt python sources to new package directory structure.
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00
Bobby Noelte
36e1bb649a Move Python package files to new package directories
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00