Skip to content

Curly Vector 1 implementatioin - #610

Draft
jukent wants to merge 7 commits into
NCAR:mainfrom
jukent:curlyvectors
Draft

Curly Vector 1 implementatioin#610
jukent wants to merge 7 commits into
NCAR:mainfrom
jukent:curlyvectors

Conversation

@jukent

@jukent jukent commented Jul 25, 2024

Copy link
Copy Markdown
Contributor

This method of making curly vectors uses streamlines without arrows, finds their end points, and afixes length-0 quiver arrows to the ends. We may want to investigate a curly vector function in geocat-viz, but this demonstrates the recommended work around by matplotlib and will be useful to users for now.

@jukent jukent changed the title Placeholder PR to highlight code changes Curly Vector 1 implementatioin Aug 7, 2024
@jukent
jukent marked this pull request as ready for review August 7, 2024 22:27
@jukent
jukent requested a review from kafitzgerald August 7, 2024 22:27

@kafitzgerald kafitzgerald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really cool!

It looks like the length scales of the vectors don't match the originals though: https://www.ncl.ucar.edu/Applications/Images/vector_1_lg.png

I think this is because of more conceptual differences between streamplot (integrates forward or backward until some constraint) and curly vectors (length varies with vector magnitude). It's handled length normalization in the various approaches here, but I don't know how robust that is.

@kafitzgerald
kafitzgerald marked this pull request as draft October 21, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants