Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/jacob/graph-making' into jacob/g…
Browse files Browse the repository at this point in the history
…raph-making
  • Loading branch information
jacobbieker committed Dec 6, 2023
2 parents bab39e0 + 03d877a commit 0349106
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions graph_weather/models/graphs/ico.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def generate_icosphere_graph(resolution=1):
print(f"Vertices: {np.isclose(vertex2[:12], vertex)}")
exit()

def generate_icosphere_mapping(lat_lons, resolutions=(1,2,3,4,5,6,7)):
def generate_icosphere_mapping(lat_lons, resolutions=(1, 2, 3, 4, 5, 6, 7)):
"""
Generate mapping from lat/lon to icosphere index.
Expand Down Expand Up @@ -348,7 +348,6 @@ def generate_icosphere_mapping(lat_lons, resolutions=(1,2,3,4,5,6,7)):
# TODO Create Data object where there is a minimal amount of verticies (the overlapping ones are the same)
# TODO Create mapping from the lat/lon to the icosphere nodes


return h3_mapping, h3_distances


Expand Down

0 comments on commit 0349106

Please sign in to comment.