Open saeed-moghimi-noaa opened 6 months ago
All,
Is any body tried vector plots using thalassa api?
Something like this:
ds['uv_mag_surface'] = (ds.uvel_surface **2 + ds.vvel_surface **2) ** 0.5 ds['uv_ang_surface'] = np.pi / 2 - np.arctan2(-ds.vvel_surface, -ds.uvel_surface) vectorfield = gv.VectorField((ds['lon'], ds['lon'], ds['uv_ang_surface'][1,:], ds['uv_mag_surface'][1,:]))
Any idea how to accomplish that?
Thanks, -Saeed
All,
Is any body tried vector plots using thalassa api?
Something like this:
Any idea how to accomplish that?
Thanks, -Saeed