<filename>tests/geo/python/test_geo_data_wgs84.py<gh_stars>0
#!/usr/bin/env python3

################################################################################

a   = 6378137.0
b   = 6356752.3142
f   = ( a - b ) / a

r1  = ( 2.0 * a + b ) / 3.0
a2  = a**2
b2  = b**2
e2  = 1.0 - b2 / a2
e   = e2**0.5
ep2 = a2 / b2 - 1.0
ep  = ep2**0.5

print( "f   = ", f)
print( "r1  = ", r1)
print( "a2  = ", a2)
print( "b2  = ", b2)
print( "e2  = ", e2)
print( "e   = ", e)
print( "ep2 = ", ep2)
print( "ep  = ", ep)

<filename>tests/geo/python/test_geo_data_wgs84.py<gh_stars>0
#!/usr/bin/env python3

################################################################################

a   = 6378137.0
b   = 6356752.3142
f   = ( a - b ) / a

r1  = ( 2.0 * a + b ) / 3.0
a2  = a**2
b2  = b**2
e2  = 1.0 - b2 / a2
e   = e2**0.5
ep2 = a2 / b2 - 1.0
ep  = ep2**0.5

print( "f   = ", f)
print( "r1  = ", r1)
print( "a2  = ", a2)
print( "b2  = ", b2)
print( "e2  = ", e2)
print( "e   = ", e)
print( "ep2 = ", ep2)
print( "ep  = ", ep)

#!/usr/bin/env python3 ################################################################################