a script that makes error ellipse plots of ensemble atcfunix files#16
Open
SamuelTrahanNOAA wants to merge 4 commits into
Open
a script that makes error ellipse plots of ensemble atcfunix files#16SamuelTrahanNOAA wants to merge 4 commits into
SamuelTrahanNOAA wants to merge 4 commits into
Conversation
Contributor
Author
|
@KathrynNewman @CPKalb @mkavulich @willmayfield - This is the draft PR I mentioned with the error ellipse plotting script. |
Collaborator
|
@SamuelTrahanNOAA This looks good to me, at least as a temporary home, as we discussed last meeting. If you mark this PR ready for review I'm happy to approve it. If you'd like a more thorough review of the new plotting script I can also test it out. |
Contributor
Author
|
Someone other than me should test the script. |
SamuelTrahanNOAA
marked this pull request as ready for review
May 28, 2026 21:10
SamuelTrahanNOAA
requested review from
EdwardSnyder-NOAA,
JeffBeck-NOAA and
gsketefian
as code owners
May 28, 2026 21:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An ensemble error ellipse script with no proper home yet. The script will probably end up somewhere else, but at least this PR gives us a forum for code review and discussion.
Given an ensemble hurricane forecast, this script plots error ellipses. The ellipses are plotted at one standard deviation, tilted to match the spread of the dataset. It uses the eigendecomposition of the covariance matrix of lat & lon differences from the mean location. (See references.) Ellipses are plotted every 24 hours by default, but this can be changed.
I expect that, once this is put inside some larger package, the atcfunix reader and data structures will be replaced with whatever the rest of that package uses.
References:
Idea came from here:
How to do an error ellipse plot: