AntSimi/py-eddy-tracker

Plot for relative changes in latitude and longitude

Ashwitaa opened this issue · 1 comments

Hi Antione,

I want to show the northward and southward direction of the anticyclonic and cyclonic vortices, shown in the figure below by Chelton et al., 2007
Fig_Cheltonetal2007

Could you please assist me with how this can be done?

Thanks!

A short way to do this, but not optimize:

lon, lat = c.longitude, c.latitude
for sl, _, _ in c.iter_on('track'):
    x, y = lon[sl] - lon[sl.start], lat[sl] - lat[sl.start]
    plt.plot(x,y)

where c is an object which contains cyclonic track eddies