Skip to content

Commit e32031d

Browse files
committed
add rinex nav tutorial
1 parent 8c2c812 commit e32031d

1 file changed

Lines changed: 53 additions & 14 deletions

File tree

notebooks/tutorials/parsers.ipynb

Lines changed: 53 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -376,15 +376,15 @@
376376
},
377377
{
378378
"cell_type": "markdown",
379-
"id": "1c7b4ed3",
379+
"id": "e93e4676",
380380
"metadata": {},
381381
"source": [
382382
"# SP3 File Parsing"
383383
]
384384
},
385385
{
386386
"cell_type": "markdown",
387-
"id": "9777add4",
387+
"id": "d1ce069f",
388388
"metadata": {},
389389
"source": [
390390
"This tutorial shows how to load SP3 files."
@@ -393,7 +393,7 @@
393393
{
394394
"cell_type": "code",
395395
"execution_count": null,
396-
"id": "72f716de",
396+
"id": "c0756386",
397397
"metadata": {},
398398
"outputs": [],
399399
"source": [
@@ -405,7 +405,7 @@
405405
},
406406
{
407407
"cell_type": "markdown",
408-
"id": "ef1ffeca",
408+
"id": "2ad4d614",
409409
"metadata": {},
410410
"source": [
411411
"Use the SP3 class loader to load in the SP3 file. The class can also optionally take multiple files as a list."
@@ -414,7 +414,7 @@
414414
{
415415
"cell_type": "code",
416416
"execution_count": null,
417-
"id": "2f3d2d21",
417+
"id": "5906e3cb",
418418
"metadata": {},
419419
"outputs": [],
420420
"source": [
@@ -424,7 +424,7 @@
424424
},
425425
{
426426
"cell_type": "markdown",
427-
"id": "95e38bf1",
427+
"id": "73352028",
428428
"metadata": {},
429429
"source": [
430430
"To visualize the results, we'll plot the ECEF x position of the first 10 GPS satellites."
@@ -433,7 +433,7 @@
433433
{
434434
"cell_type": "code",
435435
"execution_count": null,
436-
"id": "6ffa98ab",
436+
"id": "76834337",
437437
"metadata": {
438438
"scrolled": false
439439
},
@@ -445,15 +445,15 @@
445445
},
446446
{
447447
"cell_type": "markdown",
448-
"id": "a8756760",
448+
"id": "c351c2eb",
449449
"metadata": {},
450450
"source": [
451451
"# CLK File Parsing"
452452
]
453453
},
454454
{
455455
"cell_type": "markdown",
456-
"id": "7ca096db",
456+
"id": "9519121f",
457457
"metadata": {},
458458
"source": [
459459
"This tutorial shows how to load CLK files."
@@ -462,7 +462,7 @@
462462
{
463463
"cell_type": "code",
464464
"execution_count": null,
465-
"id": "e0b24834",
465+
"id": "102f55d9",
466466
"metadata": {},
467467
"outputs": [],
468468
"source": [
@@ -474,7 +474,7 @@
474474
},
475475
{
476476
"cell_type": "markdown",
477-
"id": "4213e749",
477+
"id": "b90a33e5",
478478
"metadata": {},
479479
"source": [
480480
"Use the Clk class loader to load in the CLK file. The class can also optionally take multiple files as a list."
@@ -483,7 +483,7 @@
483483
{
484484
"cell_type": "code",
485485
"execution_count": null,
486-
"id": "52199b26",
486+
"id": "6ab5eb6c",
487487
"metadata": {},
488488
"outputs": [],
489489
"source": [
@@ -493,7 +493,7 @@
493493
},
494494
{
495495
"cell_type": "markdown",
496-
"id": "72b2e23d",
496+
"id": "b87c055c",
497497
"metadata": {},
498498
"source": [
499499
"To visualize the results, we'll plot the clock bias of the first BeiDou satellites."
@@ -502,7 +502,7 @@
502502
{
503503
"cell_type": "code",
504504
"execution_count": null,
505-
"id": "147cdf01",
505+
"id": "b1a1b9b7",
506506
"metadata": {
507507
"scrolled": true
508508
},
@@ -633,6 +633,45 @@
633633
" rinex_obs_3.where('gps_millis', rinex_obs_3['gps_millis', 0], 'eq'))"
634634
]
635635
},
636+
{
637+
"cell_type": "markdown",
638+
"id": "8f1f2cd2",
639+
"metadata": {},
640+
"source": [
641+
"# Rinex Navigation File Parsing"
642+
]
643+
},
644+
{
645+
"cell_type": "markdown",
646+
"id": "63352eb8",
647+
"metadata": {},
648+
"source": [
649+
"Rinex Navigation files can be loaded using `RinexNav`"
650+
]
651+
},
652+
{
653+
"cell_type": "code",
654+
"execution_count": null,
655+
"id": "b034c805",
656+
"metadata": {},
657+
"outputs": [],
658+
"source": [
659+
"# download example Rinex navigation file\n",
660+
"!wget https://raw.githubusercontent.com/Stanford-NavLab/gnss_lib_py/main/data/unit_test/rinex/nav/brdc1370.20n --quiet -O \"brdc1370.20n\""
661+
]
662+
},
663+
{
664+
"cell_type": "code",
665+
"execution_count": null,
666+
"id": "f14e71ef",
667+
"metadata": {},
668+
"outputs": [],
669+
"source": [
670+
"# load into NavData instance\n",
671+
"rinex_nav = glp.RinexNav(\"brdc1370.20n\")\n",
672+
"rinex_nav"
673+
]
674+
},
636675
{
637676
"cell_type": "markdown",
638677
"id": "eb016e74",

0 commit comments

Comments
 (0)