diff --git a/Inst_eddies/Analysis/plot_velocity.py b/Inst_eddies/Analysis/plot_velocity.py index c6a39e60454f74a43fe6cd10a77622e4961d47db..4334c0121afcf5ded71a0b31ee4150d763c59afb 100755 --- a/Inst_eddies/Analysis/plot_velocity.py +++ b/Inst_eddies/Analysis/plot_velocity.py @@ -70,12 +70,10 @@ with netCDF4.Dataset(args.input_file) as f: lat_2d[undef_velocity].reshape(-1), transform = src_crs, marker = "*", color = "violet", linestyle = "None") else: - quiver_return = ax.quiver(longitude[lon_mask], - latitude[lat_mask], + quiver_return = ax.quiver(longitude[lon_mask], latitude[lat_mask], ugos[lat_mask][:, lon_mask], vgos[lat_mask][:, lon_mask], - scale = args.scale, - scale_units = "width", + scale = args.scale, scale_units = "width", transform = src_crs) plt.quiverkey(quiver_return, 0.9, 0.9, 1, r"1 m s$^{-1}$", coordinates = "figure")