Skip to content

Commit f09b2a2

Browse files
committed
Made changes suggested in review
1 parent 4198469 commit f09b2a2

12 files changed

Lines changed: 88022 additions & 1224 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ In the directory organization above:
7979

8080
* [2021 Google Android Derived Dataset](https://www.kaggle.com/c/google-smartphone-decimeter-challenge)
8181
* [2022 Google Android Derived Dataset](https://www.kaggle.com/competitions/smartphone-decimeter-2022)
82-
* [Precise Ephemeris Dataset](https://cddis.nasa.gov/Data_and_Derived_Products/GNSS/gnss_mgex.html)
82+
* [Precise Ephemeris Data](https://cddis.nasa.gov/Data_and_Derived_Products/GNSS/gnss_mgex.html)
8383

8484
* The `utils` directory contains utilities used to handle
8585
GNSS measurements, time conversions, visualizations, satellite

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ In the directory organization above:
8888

8989
* `2021 Google Android Derived Dataset <https://www.kaggle.com/c/google-smartphone-decimeter-challenge>`__
9090
* `2022 Google Android Derived Dataset <https://www.kaggle.com/competitions/smartphone-decimeter-2022>`__
91-
* `Precise Ephemeris Dataset <https://cddis.nasa.gov/Data_and_Derived_Products/GNSS/gnss_mgex.html>`__
91+
* `Precise Ephemeris Data <https://cddis.nasa.gov/Data_and_Derived_Products/GNSS/gnss_mgex.html>`__
9292

9393
* The :code:`utils` directory contains utilities used to handle
9494
GNSS measurements, time conversions, visualizations, satellite

gnss_lib_py/algorithms/multi_gnss.py

Lines changed: 0 additions & 493 deletions
This file was deleted.

gnss_lib_py/parsers/android.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def __init__(self, input_path, remove_timing_outliers=True):
4242
4343
"""
4444
pd_df = pd.read_csv(input_path)
45-
4645
# Correction 1: Mapping _derived timestamps to previous timestamp
4746
# for correspondance with ground truth and Raw data
4847
derived_timestamps = pd_df['millisSinceGpsEpoch'].unique()
@@ -83,8 +82,7 @@ def postprocess(self):
8382
- self['intersignal_bias_m'] \
8483
- self['tropo_delay_m'] \
8584
- self['iono_delay_m']
86-
self['corr_pr_m'] = pr_corrected
87-
85+
self['corr_pr_m'] = pr_corrected
8886
# rename gnss_id column to constellation type
8987
constellation_map = {0.:"unknown",
9088
1.:"gps",

gnss_lib_py/parsers/precise_ephemerides.py

Lines changed: 526 additions & 5 deletions
Large diffs are not rendered by default.

notebooks/tutorials/algorithms.ipynb

Lines changed: 2 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -123,91 +123,11 @@
123123
"source": [
124124
"figs = plot_metric_by_constellation(galileo_data, \"gps_millis\", \"residuals_m\")"
125125
]
126-
},
127-
{
128-
"cell_type": "markdown",
129-
"id": "44e300c3",
130-
"metadata": {},
131-
"source": [
132-
"# Multi-GNSS"
133-
]
134-
},
135-
{
136-
"cell_type": "markdown",
137-
"id": "f92ade32",
138-
"metadata": {},
139-
"source": [
140-
"Solve for precise ephemerides and update derived_data class using array of sp3 and clk classes."
141-
]
142-
},
143-
{
144-
"cell_type": "code",
145-
"execution_count": null,
146-
"id": "c6708193",
147-
"metadata": {},
148-
"outputs": [],
149-
"source": [
150-
"from gnss_lib_py.parsers.precise_ephemerides import parse_sp3, parse_clockfile\n",
151-
"from gnss_lib_py.algorithms.multi_gnss import compute_sv_gnss_from_precise_eph"
152-
]
153-
},
154-
{
155-
"cell_type": "code",
156-
"execution_count": null,
157-
"id": "3647db8d",
158-
"metadata": {},
159-
"outputs": [],
160-
"source": [
161-
"# load Android Google Challenge data\n",
162-
"!wget https://raw.githubusercontent.com/Stanford-NavLab/gnss_lib_py/ramya/multiGNSS_sp3/data/unit_test/android_2021/Pixel4_derived_clkdiscnt.csv --quiet -O \"Pixel4_derived_clkdiscnt.csv\"\n",
163-
"derived_data = AndroidDerived2021(\"Pixel4_derived_clkdiscnt.csv\", remove_timing_outliers=False)\n",
164-
"derived_data_gps = derived_data.where(\"gnss_id\", \"gps\")"
165-
]
166-
},
167-
{
168-
"cell_type": "code",
169-
"execution_count": null,
170-
"id": "b4601453",
171-
"metadata": {},
172-
"outputs": [],
173-
"source": [
174-
"# download .sp3 data file\n",
175-
"!wget https://raw.githubusercontent.com/Stanford-NavLab/gnss_lib_py/ramya/multiGNSS_sp3/data/unit_test/precise_ephemeris/grg21553_short.sp3 --quiet -O \"grg21553_short.sp3\"\n",
176-
"\n",
177-
"# Parse precise ephemerides, i.e., satellite position, from .sp3 data\n",
178-
"sp3data_gps = parse_sp3(\"grg21553_short.sp3\", constellation = 'gps')"
179-
]
180-
},
181-
{
182-
"cell_type": "code",
183-
"execution_count": null,
184-
"id": "9db551d2",
185-
"metadata": {},
186-
"outputs": [],
187-
"source": [
188-
"# download .clk data file\n",
189-
"!wget https://raw.githubusercontent.com/Stanford-NavLab/gnss_lib_py/ramya/multiGNSS_sp3/data/unit_test/precise_ephemeris/grg21553_short.clk --quiet -O \"grg21553_short.clk\"\n",
190-
"\n",
191-
"# Parse precise ephemerides, i.e., satellite clock bias, from .clk data\n",
192-
"clkdata_gps = parse_clockfile(\"grg21553_short.clk\", constellation = 'gps')"
193-
]
194-
},
195-
{
196-
"cell_type": "code",
197-
"execution_count": null,
198-
"id": "cda1a4a3",
199-
"metadata": {},
200-
"outputs": [],
201-
"source": [
202-
"# Update derived_data_gps class with satellite information computed via precise ephemerides\n",
203-
"derived_multi_gnss = compute_sv_gnss_from_precise_eph(derived_data_gps, sp3data_gps, \\\n",
204-
" clkdata_gps, verbose = False)"
205-
]
206126
}
207127
],
208128
"metadata": {
209129
"kernelspec": {
210-
"display_name": "Python 3 (ipykernel)",
130+
"display_name": "Python 3",
211131
"language": "python",
212132
"name": "python3"
213133
},
@@ -221,7 +141,7 @@
221141
"name": "python",
222142
"nbconvert_exporter": "python",
223143
"pygments_lexer": "ipython3",
224-
"version": "3.8.10"
144+
"version": "3.8.9"
225145
},
226146
"vscode": {
227147
"interpreter": {

0 commit comments

Comments
 (0)