This commit is contained in:
2026-02-16 15:15:55 -08:00
parent a9922f272c
commit e7a3b4e30e
2 changed files with 28985 additions and 28981 deletions

View File

@@ -2,6 +2,10 @@ import numpy as np
import pandas as pd import pandas as pd
from pyproj import Geod from pyproj import Geod
def closest_coord_point(point):
cities = pd.read_csv("africapolis.csv", index_col=0)
oco = pd.read_csv("oco2.csv", index_col=0)
def closest_city(point, df=None, population_threshold=0): def closest_city(point, df=None, population_threshold=0):
"""Get the name, population, and distance to the point of the closest city""" """Get the name, population, and distance to the point of the closest city"""

57962
oco2.csv

File diff suppressed because it is too large Load Diff