-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels