Commit a03d3467 authored by Fabian Kovac's avatar Fabian Kovac
Browse files

[i] added profiles to link files

parent 61489b8c
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
# Title: Data Preparation for LINK Configs and Transmissions # Title: Data Preparation for LINK Configs and Transmissions
# Author: Fabian Kovac <ds191008@fhstp.ac.at> # Author: Fabian Kovac <ds191008@fhstp.ac.at>
# Team: University of Applied Sciences St. Pölten # Team: University of Applied Sciences St. Pölten
# Version: 2.8 # Version: 2.9
# Last changed: 2021-09-29 # Last changed: 2021-10-06
# #
import sys import sys
...@@ -510,7 +510,9 @@ def prep() -> None: ...@@ -510,7 +510,9 @@ def prep() -> None:
'TXLEVEL' : 'mean', 'TXLEVEL' : 'mean',
'SPEED' : 'mean', 'SPEED' : 'mean',
'CURRRXBITRATE' : 'mean', 'CURRRXBITRATE' : 'mean',
'CURRTXBITRATE' : 'mean' 'CURRTXBITRATE' : 'mean',
'CURRRXPROFILE' : 'median',
'CURRTXPROFILE' : 'median'
} }
df_link = df_link.groupby(group_cols).agg(agg_cols).reset_index() df_link = df_link.groupby(group_cols).agg(agg_cols).reset_index()
_log('Converted 3min windows to 15min windows') _log('Converted 3min windows to 15min windows')
...@@ -573,10 +575,12 @@ def prep() -> None: ...@@ -573,10 +575,12 @@ def prep() -> None:
'PDIFF' : 'Pdiff', 'PDIFF' : 'Pdiff',
'TXLEVEL' : 'TxLevel', 'TXLEVEL' : 'TxLevel',
'ATTENUATION' : 'Attenuation', 'ATTENUATION' : 'Attenuation',
'EXTINCTIONCOEFFICIENT' : 'ExtinctionCoeff', 'EXTINCTIONCOEFF' : 'ExtinctionCoeff',
'SPEED' : 'Speed', 'SPEED' : 'Speed',
'CURRRXBITRATE' : 'RxBitrate', 'CURRRXBITRATE' : 'RxBitrate',
'CURRTXBITRATE' : 'TxBitrate', 'CURRTXBITRATE' : 'TxBitrate',
'CURRRXPROFILE' : 'RxProfile',
'CURRTXPROFILE' : 'TxProfile',
'LONGITUDE_A' : 'XStart', 'LONGITUDE_A' : 'XStart',
'LATITUDE_A' : 'YStart', 'LATITUDE_A' : 'YStart',
'ANT_HEIGHT_ALTITUDE_A' : 'AltStart', 'ANT_HEIGHT_ALTITUDE_A' : 'AltStart',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment