Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix data point skipping on hodo #188

Merged
merged 1 commit into from
Jan 21, 2020
Merged

Conversation

brettjrob
Copy link
Contributor

This seems to be a subtle off-by-one index error when drawing each colored 3-km segment of the hodo. The first data point after a segment cutoff is skipped when connecting u,v points. If z = [..., 2900, 3100, 3300, ...], then the u,v point at 3100 m AGL is skipped, since it's the first index after the 3-km segment cutoff. Only becomes noticeable with vertically sparse data.

This seems to be a subtle off-by-one index error when drawing each colored 3-km segment of the hodo. The first data point after a segment cutoff is skipped when connecting u,v points. If z = [..., 2900, 3100, 3300, ...], then the u,v point at 3100 m AGL is skipped, since it's the first index after the 3-km segment cutoff. Only becomes noticeable with vertically sparse data.
@tsupinie tsupinie merged commit 616d3b8 into sharppy:master Jan 21, 2020
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