Skip to content

Fix data point skipping on hodo#188

Merged
tsupinie merged 1 commit intosharppy:masterfrom
brettjrob:patch-1
Jan 21, 2020
Merged

Fix data point skipping on hodo#188
tsupinie merged 1 commit intosharppy:masterfrom
brettjrob:patch-1

Conversation

@brettjrob
Copy link
Copy Markdown
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