Skip to content
Snippets Groups Projects
Commit 3c67d186 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Polish

parent 45f68732
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ import f90nml
def in_window(point, window):
llcrnrlon, llcrnrlat, urcrnrlon, urcrnrlat = window
longit = point[0] + math.ceil((llcrnrlon - point[0]) / 360) * 360
# (in [llcrnrlon, llcrnrlon + 2 pi[)
# (in [llcrnrlon, llcrnrlon + 360[)
return longit <= urcrnrlon and llcrnrlat <= point[1] <= urcrnrlat
......
......@@ -126,5 +126,5 @@ if __name__ == "__main__":
plot_all_components(G, args.label)
ax.coastlines()
ax.gridlines(draw_labels=True)
ax.gridlines(draw_labels = True)
plt.show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment