diff --git a/Trajectories/plot_traj.py b/Trajectories/plot_traj.py index 49b366c3aa2fd07fc7c4dada119aa678c94c74ac..3853fe93defe85e5e03f7909df3dd62e4cff2005 100755 --- a/Trajectories/plot_traj.py +++ b/Trajectories/plot_traj.py @@ -72,14 +72,9 @@ if __name__ == "__main__": "time steps), >= 1") args = parser.parse_args() - with open(args.expanded_traj) as f: - expanded_traj = json.load(f) - + with open(args.expanded_traj) as f: expanded_traj = json.load(f) print("Number of trajectories:", len(expanded_traj)) - - with open(args.e_overestim) as f: - e_overestim = int(f.read()) - + with open(args.e_overestim) as f: e_overestim = int(f.read()) SHPC = util_eddies.SHPC_class(args.SHPC, def_orient = args.orientation) src_crs = ccrs.Geodetic() projection = ccrs.PlateCarree(central_longitude = 110)