Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
5
5Give
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ashwin Rao
5Give
Commits
e7e36f4d
Commit
e7e36f4d
authored
4 years ago
by
Ashwin Rao
Browse files
Options
Downloads
Patches
Plain Diff
Parsing scripts
parent
1ee9c0cc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
parse_results/create-csv.sh
+14
-7
14 additions, 7 deletions
parse_results/create-csv.sh
parse_results/parse_rtcm3_logs.ipynb
+169
-0
169 additions, 0 deletions
parse_results/parse_rtcm3_logs.ipynb
with
183 additions
and
7 deletions
parse_results/create-csv.sh
+
14
−
7
View file @
e7e36f4d
...
...
@@ -3,19 +3,26 @@ set -x
results_folder
=
"../results/"
# Add the header
echo
"
l
oc
,tech
,ts_relay,ts_client"
>
timestamps.csv
echo
"
l
oc
,tech
,rtt"
>
ping.csv
echo
"
L
oc
ation,Technology
,ts_relay,ts_client"
>
timestamps.csv
echo
"
L
oc
ation,Technology
,rtt"
>
ping.csv
# Add the prefix to the timestamps and concatenate it to a final-csv
for
tech
in
eth
wifi 4
G 5G
for
tech
iter
in
"
eth
Ethernet"
"wifi Wi-Fi"
"5
G 5G
"
do
for
loc
in
uni
do
set
--
$techiter
tech
=
$1
techstr
=
$2
for
lociter
in
"uni University"
do
set
--
$lociter
loc
=
$1
locstr
=
$2
fprefix
=
${
loc
}
-
${
tech
}
echo
${
fprefix
}
sed
's/^/'
"
${
loc
}
"
'\,'
"
${
tech
}
"
'\,/'
${
results_folder
}
/
${
fprefix
}
-timestamps
.txt
>>
timestamps.csv
sed
's/^/'
"
${
loc
str
}
"
'\,'
"
${
tech
str
}
"
'\,/'
${
results_folder
}
/
${
fprefix
}
-timestamps
.txt
>>
timestamps.csv
cat
${
results_folder
}
/
${
fprefix
}
-ping
.txt |
cut
-d
' '
-f
7 |
grep
"time"
|
cut
-d
'='
-f
2
>
tmp.txt
sed
's/^/'
"
${
loc
}
"
'\,'
"
${
tech
}
"
'\,/'
tmp.txt
>>
ping.csv
sed
's/^/'
"
${
loc
str
}
"
'\,'
"
${
tech
str
}
"
'\,/'
tmp.txt
>>
ping.csv
done
done
rm
tmp.txt
This diff is collapsed.
Click to expand it.
parse_results/parse_rtcm3_logs.ipynb
0 → 100644
+
169
−
0
View file @
e7e36f4d
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment