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

Rolling average example #811

Closed
8 tasks done
rolyp opened this issue Oct 26, 2023 · 2 comments · Fixed by #1122
Closed
8 tasks done

Rolling average example #811

rolyp opened this issue Oct 26, 2023 · 2 comments · Fixed by #1122

Comments

@rolyp
Copy link
Collaborator

rolyp commented Oct 26, 2023

  • Regular test case (without slicing) ❌ linked outputs test case better (assumptions about file locations, etc)
  • Linked outputs test case (with just identity as expected output selection)
  • First pass over example
  • Linked outputs test case (with non-trivial expected output selection) ❌ revisit with better dependencies
  • Drop central? Or simple?
  • Simplify moving-average library
  • Remove LinkedText aspect (served better by IPCC AR6: Table SPM.1 #1118)
  • Better solution to newPoints workaround (take floor)
  • y coordinate not consumed by original curve
  • Less trivial/more meaningful data set

My original thought was to visualise some kind of cumulative function of a time series. That should show a given output being related to every prior element in the series. But from the Cross-VESRI event I realised it is common to use line charts to plot a time series alongside a rolling average to visualise trends more clearly. For example, one could plot annual global average temperature and overlay it with a 5-year rolling average to smooth out short-term fluctuations and highlight longer-term trends.

What we could implement is a slightly more self-explanatory version of this where the related outputs would be automatically highlighted. (With #268 we could also show the calculation of the average, but it would still be useful just to show the sliding window.)

Maybe this could be coupled with a selection visualisation convention whereby if adjacent points are selected then the line that connects them also has some selection highlighting.

See also:

@rolyp rolyp added this to Fluid Oct 26, 2023
@github-project-automation github-project-automation bot moved this to Proposed in Fluid Oct 26, 2023
@rolyp rolyp moved this from Proposed to Planned in Fluid Oct 26, 2023
@rolyp rolyp added this to the v0.7: Graphical slicing milestone Oct 26, 2023
@rolyp rolyp moved this from Planned to Proposed in Fluid May 7, 2024
@rolyp rolyp moved this from Proposed to Planned in Fluid Jul 16, 2024
@rolyp rolyp changed the title Linked inputs example using cumulative function Linked outputs example with rolling average Jul 16, 2024
@rolyp
Copy link
Collaborator Author

rolyp commented Jul 16, 2024

Had a better idea for this and bumped from Proposed to Planned.

@rolyp rolyp moved this from Planned to In Progress in Fluid Aug 22, 2024
@rolyp rolyp changed the title Linked outputs example with rolling average Linked outputs example: rolling average Aug 24, 2024
@rolyp
Copy link
Collaborator Author

rolyp commented Aug 27, 2024

@JosephBond Taking a look at this this morning. Added a subtask to add a test case once we have things working as best as they can given the current issues with the graph.

@rolyp rolyp self-assigned this Sep 24, 2024
@rolyp rolyp changed the title Linked outputs example: rolling average Rolling average example Sep 25, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Recently completed in Fluid Sep 26, 2024
@rolyp rolyp moved this from Recently completed to Done in Fluid Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
2 participants