Skip to content
New issue

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

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

Already on GitHub? # to your account

12 aggregate scheme #88

Merged
merged 5 commits into from
Nov 1, 2024
Merged

12 aggregate scheme #88

merged 5 commits into from
Nov 1, 2024

Conversation

craig-parylo
Copy link
Contributor

closes #12

Adds the ability to view an aggregate summary of schemes' responses (except the focal one) within the pointrange plot.

How to use:

This view is toggle-able from the point-range settings sidebar.
image
The slide switch enables/disables the aggregate view and the checkbox controls whether the min/max are based on extreme values or the average (mean).

When enabled the aggregate summary is displayed as a new scheme called 'Summary 🔵' at the end of the list of schemes and the pointrange is coloured blue.

Integration with existing functionality

✅ NEE range
The 'Summary 🔵' is associated with the relevant nee values for each mitigator so can be used in combination with the 'Show NEE range?' toggle.
This gives a view whether the schemes are collectively within the NEE range.
image

✅ Facet by scheme
Faceting by scheme results in the 'Summary 🔵' aggregate with its own facet so overall settings per mitigator can be quickly scanned:
image

✅ Standardise by horizon length
The 'Summary 🔵' view is responsive to the standardise by horizon length setting.

✅ Show mitigator codes
The 'Summary 🔵' is unaffected by showing mitigator codes or names.

…trange plot with a supplementary checkbox to control whether the min/max are based on extremes or averages of the min/max values.
… and creates an aggregate summary view of all the schemes (except the focal one) and appends this with the scheme name of 'Summary' then adds textual blue colour coding. Also additional code to enable/disable the 'summary full range' depending on whether a summary view has been selected
@craig-parylo craig-parylo self-assigned this Oct 31, 2024
@matt-dray matt-dray mentioned this pull request Nov 1, 2024
@matt-dray matt-dray added enhancement New feature or request must MoSCoW priority labels Nov 1, 2024
@matt-dray matt-dray added this to the v0.4.0 milestone Nov 1, 2024
Copy link
Contributor

@matt-dray matt-dray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a neat solution! I like the ability to switch from mean lo/hi to the full range. The toggle may be preferable to checkboxes in general; maybe we can review this when we review the UI later down the road.

I've marked this as 'approve' but I think it would be worth incorporating the two suggestions I've made; just to make even clearer that the summary is composed of selected schemes.

@matt-dray
Copy link
Contributor

...although the relationship between the blue toggle and the blue summary markers would be lost if we used more toggles and fewer checkboxes, of course.

craig-parylo and others added 2 commits November 1, 2024 15:35
Co-authored-by: Matt Dray <18232097+matt-dray@users.noreply.github.com>
Co-authored-by: Matt Dray <18232097+matt-dray@users.noreply.github.com>
@craig-parylo craig-parylo merged commit 906539a into main Nov 1, 2024
@craig-parylo craig-parylo deleted the 12_aggregate_scheme branch November 1, 2024 15:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request must MoSCoW priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show multi-site aggregate selections
2 participants