refactor: remove unused lake JSON files and truncate excessive historical data in index files

This commit is contained in:
David Fencl
2026-06-06 12:41:42 +02:00
parent db1aadcc8d
commit 66021e001e
13 changed files with 453 additions and 63501 deletions
+40 -7018
View File
File diff suppressed because it is too large Load Diff
+40 -7018
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -1 +0,0 @@
[]
-1
View File
@@ -1 +0,0 @@
[]
+39 -7053
View File
File diff suppressed because it is too large Load Diff
+40 -7054
View File
File diff suppressed because it is too large Load Diff
+41 -7037
View File
File diff suppressed because it is too large Load Diff
+41 -7055
View File
File diff suppressed because it is too large Load Diff
+46 -7051
View File
File diff suppressed because it is too large Load Diff
+40 -7063
View File
File diff suppressed because it is too large Load Diff
+40 -7063
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -1 +0,0 @@
[]
+86 -86
View File
@@ -5,11 +5,11 @@
"river": "Vltava", "river": "Vltava",
"priority": true, "priority": true,
"level": "723.09", "level": "723.09",
"capacity": 65.3, "capacity": 76.3,
"storageDiff": -1.81, "storageDiff": -1.81,
"inflow": "9.3", "inflow": "0.0",
"outflow": "0.0", "outflow": "1.5",
"volume": 199.67, "volume": 233.5,
"maxVolume": 306, "maxVolume": 306,
"lat": 48.6322, "lat": 48.6322,
"lng": 14.2215, "lng": 14.2215,
@@ -33,28 +33,28 @@
"name": "Lipno II", "name": "Lipno II",
"river": "Vltava", "river": "Vltava",
"priority": true, "priority": true,
"level": "558.93", "level": "558.92",
"capacity": 30, "capacity": 34.9,
"storageDiff": -1.57, "storageDiff": -1.58,
"inflow": "5.4", "inflow": "0.0",
"outflow": "0.0", "outflow": "0.0",
"volume": 0.45, "volume": 0.5,
"maxVolume": 1.5, "maxVolume": 1.5,
"lat": 48.625, "lat": 48.625,
"lng": 14.318, "lng": 14.318,
"sparkline": [ "sparkline": [
559.09, 559.59,
559.08, 559.52,
559.06, 559.44,
559.37,
559.29,
559.21,
559.13,
559.05, 559.05,
559.03,
559.02,
559,
558.99,
558.98,
558.96, 558.96,
558.94, 558.94,
558.93 558.93,
558.92
] ]
}, },
{ {
@@ -63,22 +63,22 @@
"river": "Vltava", "river": "Vltava",
"priority": true, "priority": true,
"level": "369.84", "level": "369.84",
"capacity": 96.7, "capacity": 88,
"storageDiff": -0.26, "storageDiff": -0.26,
"inflow": "0.0", "inflow": "0.0",
"outflow": "2.5", "outflow": "2.5",
"volume": 20.4, "volume": 18.6,
"maxVolume": 21.1, "maxVolume": 21.1,
"lat": 49.183, "lat": 49.183,
"lng": 14.444, "lng": 14.444,
"sparkline": [ "sparkline": [
369.83, 369.83,
369.83, 369.84,
369.83, 369.85,
369.83, 369.84,
369.83, 369.84,
369.83, 369.84,
369.83, 369.81,
369.83, 369.83,
369.84, 369.84,
369.84, 369.84,
@@ -91,28 +91,28 @@
"name": "Kořensko", "name": "Kořensko",
"river": "Vltava", "river": "Vltava",
"priority": true, "priority": true,
"level": "352.51", "level": "352.50",
"capacity": 98.9, "capacity": 33.3,
"storageDiff": -0.09, "storageDiff": -0.1,
"inflow": "13.4", "inflow": "0.0",
"outflow": "19.1", "outflow": "19.1",
"volume": 2.77, "volume": 0.9,
"maxVolume": 2.8, "maxVolume": 2.8,
"lat": 49.255, "lat": 49.255,
"lng": 14.398, "lng": 14.398,
"sparkline": [ "sparkline": [
352.56, 352.47,
352.56, 352.48,
352.55, 352.49,
352.55,
352.54,
352.54,
352.53,
352.53,
352.52, 352.52,
352.56,
352.57,
352.56,
352.55,
352.52, 352.52,
352.51, 352.51,
352.51 352.51,
352.5
] ]
}, },
{ {
@@ -121,22 +121,22 @@
"river": "Vltava", "river": "Vltava",
"priority": true, "priority": true,
"level": "345.27", "level": "345.27",
"capacity": 72.9, "capacity": 63.6,
"storageDiff": -4.63, "storageDiff": -4.63,
"inflow": "24.4", "inflow": "0.0",
"outflow": "0.0", "outflow": "0.0",
"volume": 522.32, "volume": 455.7,
"maxVolume": 716.5, "maxVolume": 716.5,
"lat": 49.606, "lat": 49.606,
"lng": 14.17, "lng": 14.17,
"sparkline": [ "sparkline": [
345.27, 345.25,
345.27, 345.26,
345.27, 345.26,
345.27, 345.25,
345.27, 345.26,
345.27, 345.26,
345.27, 345.26,
345.27, 345.27,
345.27, 345.27,
345.27, 345.27,
@@ -150,26 +150,26 @@
"river": "Vltava", "river": "Vltava",
"priority": true, "priority": true,
"level": "269.88", "level": "269.88",
"capacity": 97, "capacity": 78.2,
"storageDiff": -0.72, "storageDiff": -0.72,
"inflow": "81.1", "inflow": "0.0",
"outflow": "0.0", "outflow": "0.0",
"volume": 261.23, "volume": 210.6,
"maxVolume": 269.3, "maxVolume": 269.3,
"lat": 49.822, "lat": 49.822,
"lng": 14.436, "lng": 14.436,
"sparkline": [ "sparkline": [
269.87, 269.87,
269.87, 269.86,
269.88, 269.89,
269.88, 269.86,
269.88, 269.89,
269.88, 269.88,
269.89,
269.88, 269.88,
269.89, 269.89,
269.89, 269.89,
269.89, 269.88,
269.89,
269.88 269.88
] ]
}, },
@@ -178,28 +178,28 @@
"name": "Štěchovice", "name": "Štěchovice",
"river": "Vltava", "river": "Vltava",
"priority": true, "priority": true,
"level": "217.06", "level": "217.04",
"capacity": 73.5, "capacity": 1.6,
"storageDiff": -2.34, "storageDiff": -2.36,
"inflow": "48.3", "inflow": "0.0",
"outflow": "0.0", "outflow": "0.0",
"volume": 8.23, "volume": 0.2,
"maxVolume": 11.2, "maxVolume": 11.2,
"lat": 49.845, "lat": 49.845,
"lng": 14.412, "lng": 14.412,
"sparkline": [ "sparkline": [
217.14, 218.33,
217.13, 218.25,
217.12, 218.1,
217.82,
217.57,
217.32,
217.19,
217.1, 217.1,
217.09,
217.1,
217.07,
217.07,
217.07,
217.05, 217.05,
217.04, 217.04,
217.06 217.06,
217.04
] ]
}, },
{ {
@@ -208,21 +208,21 @@
"river": "Malše", "river": "Malše",
"priority": true, "priority": true,
"level": "467.74", "level": "467.74",
"capacity": 78.5, "capacity": 74.9,
"storageDiff": -2.91, "storageDiff": -2.91,
"inflow": "2.2", "inflow": "0.0",
"outflow": "0.0", "outflow": "0.0",
"volume": 26.53, "volume": 25.3,
"maxVolume": 33.8, "maxVolume": 33.8,
"lat": 48.847, "lat": 48.847,
"lng": 14.487, "lng": 14.487,
"sparkline": [ "sparkline": [
467.74, 467.73,
467.74, 467.73,
467.74, 467.73,
467.74, 467.73,
467.74, 467.73,
467.74, 467.73,
467.74, 467.74,
467.74, 467.74,
467.74, 467.74,
@@ -237,17 +237,17 @@
"river": "Mže", "river": "Mže",
"priority": true, "priority": true,
"level": "352.84", "level": "352.84",
"capacity": 57, "capacity": 11.4,
"storageDiff": -16.66, "storageDiff": -16.66,
"inflow": "1.5", "inflow": "0.0",
"outflow": "2.5", "outflow": "2.5",
"volume": 32.3, "volume": 6.5,
"maxVolume": 56.7, "maxVolume": 56.7,
"lat": 49.789, "lat": 49.789,
"lng": 13.155, "lng": 13.155,
"sparkline": [ "sparkline": [
352.84, 352.84,
352.85, 352.84,
352.84, 352.84,
352.84, 352.84,
352.84, 352.84,