[SciPy-User] Calculating circulation around a latitude circle

ashwin .D winash12 at gmail.com
Fri Sep 10 11:42:31 EDT 2021


https://stackoverflow.com/questions/33857555/integrating-a-vector-field-a-numpy-array-using-scipy-integrate
This SO Q & A is doing something similar to what I am wanting to do. My
question still stands whether I need to interpolate my Vx, Vy using Scipy
and then use integrate.odeint ? I have a 2d array of velocity components
Vx(x,y) and Vy(x,y) where x and y are longitude and latitude.  In my case
around the latitude circle the latitude does not change.

On Tue, Sep 7, 2021 at 3:24 PM ashwin .D <winash12 at gmail.com> wrote:

> Hello,
>             It probably is  a very trivial question but I think (and hope)
> that there is no harm in asking for  a clarification. I have grid
> coordinates and their  associated velocities arranged along a latitude
> circle(https://en.wikipedia.org/wiki/Circle_of_latitude_ . I am wanting
> to calculate the circulation around that latitude circle.  I have seen this
> example -
> http://www.joshtheengineer.com/2019/04/01/compute-circulation-of-a-vector-field-in-matlab-and-python/
> and the associated video - https://www.youtube.com/watch?v=b8EnhiSjL3o .
> But I think my case is a trivial case of what is being  explained  in those
> links. A straightforward application of Stokes integral in my case as shown
> below
>
> Numerical integration of (u_i d (lambda) + v . (d theta)). In my case
> d.theta is zero since there is no change of latitude along a latitude
> circle . Am I right on those assumptions ? Or do I need to interpolate my
> grid coordinates to an ellipse as shown in that example ?
>
> Thanks and regards,
> Ashwin.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scipy-user/attachments/20210910/1d8c320f/attachment.html>


More information about the SciPy-User mailing list