mirror of
https://github.com/liberatedsystems/Sideband_CE.git
synced 2024-09-03 04:13:27 +02:00
Merge branch 'main' of https://git.unsigned.io/markqvist/Sideband
This commit is contained in:
commit
b26447d4c5
@ -290,6 +290,20 @@ def shared_radio_horizon(c1, c2,):
|
||||
"antenna_distance": antenna_distance
|
||||
}
|
||||
|
||||
def ghtest():
|
||||
import pygeodesy
|
||||
from pygeodesy.ellipsoidalKarney import LatLon
|
||||
ginterpolator = pygeodesy.GeoidKarney("./assets/geoids/egm2008-5.pgm")
|
||||
|
||||
# Make an example location
|
||||
lat=51.416422
|
||||
lon=-116.217151
|
||||
|
||||
# Get the geoid height
|
||||
single_position=LatLon(lat, lon)
|
||||
h = ginterpolator(single_position)
|
||||
print(h)
|
||||
|
||||
# def tests():
|
||||
# import RNS
|
||||
# import numpy as np
|
||||
|
Loading…
Reference in New Issue
Block a user