64 Commits

Author SHA1 Message Date
Andreas
565e721d68 [BUG]: class_ems nd_array not JSON serializable
Big Bugfix - not sure if everything works
2024-10-09 16:59:50 +02:00
Andreas
7b05fc04ce JSON Response fixed 2024-10-09 16:59:50 +02:00
Normann
ac0eacb15e convert np arrys to lists before changing 2024-10-08 18:55:51 +02:00
Normann
14c33fd009 set current hour value None in class_ems.py 2024-10-08 18:55:51 +02:00
Normann
7a85117e10 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
bda6d240d1 TypeGuard[float] added to isfloat 2024-10-08 07:53:07 +02:00
Normann
6a3964b47c empty line added 2024-10-08 07:53:07 +02:00
Normann
efb685d602 import sort#2 2024-10-08 07:53:07 +02:00
Normann
0339e5dc2e sort imports 2024-10-08 07:53:07 +02:00
Normann
c9db30859b 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
ae5ead0884 remove isfloat()
function is not used here
2024-10-08 07:53:07 +02:00
Bobby Noelte
52026fa36a 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
89fd1d4203 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
619d49488b Move Python package files to new package directories
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00