view globalneighbors/constants.py @ 5:7e27e874655b

test a larger grid + move distance insertion to its own function
author Jeff Hammel <k0scist@gmail.com>
date Sat, 24 Jun 2017 15:16:10 -0700
parents 5dba84370182
children
line wrap: on
line source

"""
physical constants
"""

# The Earth isn't a sphere, but let's pretend it is
# https://en.wikipedia.org/wiki/Earth_radius
Rearth = 6371.  # km
diameter = 2.*Rearth