RocketPy icon indicating copy to clipboard operation
RocketPy copied to clipboard

BUG: Wind Heading Profile Plots are not that good

Open Gui-FernandesBR opened this issue 3 years ago • 1 comments

Describe the bug

Currently there's no way to prevent wrong interpolation of wind heading values when creating wind heading profile function. This causes plots to present weird behavior of a high variance of wind heading. image

To Reproduce

Any time when the wind heading (or direction) varies more than 180ºfrom one pressure level to the other. Those case might present a wrong interpolation of wind heading values over the altitude, specially when plotting it.

Expected behavior

See the followinf link for reference. https://stackoverflow.com/questions/16058096/conditionally-draw-connecting-lines-in-matplotlib image

Additional context

Suggestion: Maybe a polar plot might help on the solution!

Gui-FernandesBR avatar Oct 08 '22 16:10 Gui-FernandesBR

This was oppened based on the discussion we had here: #197

Gui-FernandesBR avatar Oct 08 '22 16:10 Gui-FernandesBR