update physical db
Browse files
physical_db/physical_database.csv
CHANGED
@@ -3020,9 +3020,9 @@
|
|
3020 |
623,1,623_1,30,-5.71445903,12.66050129,42.4,0,0
|
3021 |
623,2,623_2,150,-5.71445903,12.66050129,42.4,0,2
|
3022 |
623,3,623_3,270,-5.71445903,12.66050129,42.4,0,2
|
3023 |
-
6230,1,6230_1,80,-7.
|
3024 |
-
6230,2,6230_2,220,-7.
|
3025 |
-
6230,3,6230_3,325,-7.
|
3026 |
6231,1,6231_1,30,-5.23614,12.388692,72.400002,2,0
|
3027 |
6231,2,6231_2,150,-5.23614,12.388692,72.400002,2,0
|
3028 |
6231,3,6231_3,280,-5.23614,12.388692,72.400002,2,0
|
@@ -4683,3 +4683,5 @@
|
|
4683 |
99,1,99_1,90,-8.02158333,12.58616667,16.25,2,2
|
4684 |
99,2,99_2,225,-8.02158333,12.58616667,16.25,2,2
|
4685 |
99,3,99_3,345,-8.02158333,12.58616667,16.25,2,2
|
|
|
|
|
|
3020 |
623,1,623_1,30,-5.71445903,12.66050129,42.4,0,0
|
3021 |
623,2,623_2,150,-5.71445903,12.66050129,42.4,0,2
|
3022 |
623,3,623_3,270,-5.71445903,12.66050129,42.4,0,2
|
3023 |
+
6230,1,6230_1,80,-7.151555,11.015942,82.400002,2,2
|
3024 |
+
6230,2,6230_2,220,-7.151555,11.015942,82.400002,2,2
|
3025 |
+
6230,3,6230_3,325,-7.151555,11.015942,82.400002,2,2
|
3026 |
6231,1,6231_1,30,-5.23614,12.388692,72.400002,2,0
|
3027 |
6231,2,6231_2,150,-5.23614,12.388692,72.400002,2,0
|
3028 |
6231,3,6231_3,280,-5.23614,12.388692,72.400002,2,0
|
|
|
4683 |
99,1,99_1,90,-8.02158333,12.58616667,16.25,2,2
|
4684 |
99,2,99_2,225,-8.02158333,12.58616667,16.25,2,2
|
4685 |
99,3,99_3,345,-8.02158333,12.58616667,16.25,2,2
|
4686 |
+
2068,2,2068_2,120,-4.144896,13.640659,19.799999,2,0
|
4687 |
+
2068,3,2068_3,240,-4.144896,13.640659,19.799999,2,0
|
process_kpi/process_wbts_capacity.py
CHANGED
@@ -70,21 +70,6 @@ def kpi_naming_cleaning(df: pd.DataFrame) -> pd.DataFrame:
|
|
70 |
return name_df
|
71 |
|
72 |
|
73 |
-
def create_wbts_index(df: pd.DataFrame) -> pd.DataFrame:
|
74 |
-
"""
|
75 |
-
Create a custom index by combining date and DN columns.
|
76 |
-
|
77 |
-
Args:
|
78 |
-
df: DataFrame containing date and DN columns
|
79 |
-
|
80 |
-
Returns:
|
81 |
-
DataFrame with new custom_index column
|
82 |
-
"""
|
83 |
-
wbts_index_df = df.copy()
|
84 |
-
wbts_index_df["custom_index"] = wbts_index_df["date"] + "_" + wbts_index_df["DN"]
|
85 |
-
return wbts_index_df
|
86 |
-
|
87 |
-
|
88 |
def max_used_bb_subunits_analysis(
|
89 |
df: pd.DataFrame,
|
90 |
days: int = 7,
|
|
|
70 |
return name_df
|
71 |
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
def max_used_bb_subunits_analysis(
|
74 |
df: pd.DataFrame,
|
75 |
days: int = 7,
|