Navigation

    Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    Wind speed and direction interpolation.

    General Discussion
    3
    5
    837
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rittels
      rittels Code contributor | Premium last edited by

      Hi

      What is the best way to interpolate wind data? Which method do you use?

      Interpolating the u and v vectors, results in the speed of the interpolated value being relatively lower.

      Interpolating the direction and speed, rather than the vectors, appears appropriate for small angles, but not for large angles.

      Perhaps a combination, dependent on the size of the angle?

      I am doing a lot of interpolation in the traj plugin, to get the trajectories smoother.

      BarboraSamkova 1 Reply Last reply Reply Quote 0
      • BarboraSamkova
        BarboraSamkova @rittels last edited by

        @rittels Hi, there is not a "right" method. We are using the first method - Interpolating the u and v vectors, results in the speed of the interpolated value being relatively lower.

        rittels 1 Reply Last reply Reply Quote 1
        • rittels
          rittels Code contributor @BarboraSamkova | Premium last edited by

          @BarboraSamkova Thanks!!

          Played around with the different methods here.

          Drag the cursor around in the blocks to see.

          1 Reply Last reply Reply Quote 0
          • vicb
            vicb Paraglider | Premium last edited by

            I use u & v interpolations.

            There is one gotcha when you do angle interpolation wrt to wrapping: avg(310, 50) is 0 not 360 / 2.

            rittels 1 Reply Last reply Reply Quote 1
            • rittels
              rittels Code contributor @vicb | Premium last edited by

              @vicb Thanks.

              Yep, I correct for that.

              But, u & v interpolation better, at least for large angle differences.

              I like method 3, though probably slightly slower.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
              NodeBB & contributors, OSM & contributors, HERE maps
              Terms and Conditions     Privacy Policy