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

Bug fix: plot geodesics

Otherwise we can have a line across the globe between two points with
longitudes close to -180° and 180°.
parent 393e39ed
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ if __name__ == "__main__":
e_overestim = int(f.read())
SHPC = util_eddies.SHPC_class(args.SHPC, def_orient = args.orientation)
src_crs = ccrs.PlateCarree()
src_crs = ccrs.Geodetic()
projection = ccrs.PlateCarree(central_longitude = 110)
fig, ax = plt.subplots(subplot_kw = {"projection": projection})
random.seed(0)
......
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