Skip to content

Commit

Permalink
sample data for OSNMA/QZNMA.
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokawa committed Jan 3, 2025
1 parent 00451e2 commit be6ac36
Show file tree
Hide file tree
Showing 9 changed files with 97,292 additions and 2 deletions.
6,622 changes: 6,622 additions & 0 deletions data/doy2024-305/305a_galfnav.txt

Large diffs are not rendered by default.

49,535 changes: 49,535 additions & 0 deletions data/doy2024-305/305a_galinav.txt

Large diffs are not rendered by default.

5,231 changes: 5,231 additions & 0 deletions data/doy2024-305/305a_gpscnav.txt

Large diffs are not rendered by default.

6,140 changes: 6,140 additions & 0 deletions data/doy2024-305/305a_gpslnav.txt

Large diffs are not rendered by default.

3,475 changes: 3,475 additions & 0 deletions data/doy2024-305/305a_qzscnav.txt

Large diffs are not rendered by default.

800 changes: 800 additions & 0 deletions data/doy2024-305/305a_qzscnav2.txt

Large diffs are not rendered by default.

23,088 changes: 23,088 additions & 0 deletions data/doy2024-305/305a_qzsl6.txt

Large diffs are not rendered by default.

2,395 changes: 2,395 additions & 0 deletions data/doy2024-305/305a_qzslnav.txt

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions samples/test_osnma.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@author Rui Hirokawa
"""

import os
import numpy as np
import cssrlib.osnma as om
from binascii import unhexlify, hexlify
Expand All @@ -13,9 +13,12 @@
tofst = -2 # time offset to syncronize tow
mt_file = 'OSNMA_MerkleTree_20240115100000_newPKID_1.xml'

if not os.path.exists('../data/pubkey/osnma/'+mt_file):
print('please install OSNMA_MerkleTree*.xml from EUSPA.')

nma = om.osnma(mt_file)

nma.flg_slowmac = True
nma.flg_slowmac = False

file_galinav = '../data/doy2024-305/305a_galinav.txt'
doy = 305
Expand All @@ -40,6 +43,7 @@
# nep = 90
# nep = 180
nep = 300
nep = 1799

for i, t in enumerate(tow[0:nep]):
vi = v[v['tow'] == t]
Expand Down

0 comments on commit be6ac36

Please sign in to comment.