mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 14:50:37 +01: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
|
"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():
|
# def tests():
|
||||||
# import RNS
|
# import RNS
|
||||||
# import numpy as np
|
# import numpy as np
|
||||||
|
Loading…
Reference in New Issue
Block a user