view globalneighbors/constants.py @ 14:27925261c137

fix broken tests including an aggregious case where we add ourselves as a neighbor to ourself
author Jeff Hammel <k0scist@gmail.com>
date Sun, 25 Jun 2017 14:29:18 -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