datasciencecampus/mobius

Large trend lines cause misorder of CSV files

Closed this issue · 3 comments

Describe the bug
Sweden, and other reports, have graphs whose trend lines greatly exceed the +80% horizontal line. This causes strange behave in the order of which the individual graphs are saved and read.

Need to isolate these cases and add conditions to prevent this.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Reordering seems to a pain. Solution: Cut PDFs in half (veriically, for pages 3 onwards) before processing. Will check.

Above solution did give better results. But even then Csvs were misordered.

Solution to test today: we know location of baselines stays constant for each graph, in a pattern, per page. So we can reorder paths, and attrs based on this knowledge.

Since this is closed, does that mean it's fixed now?