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

Add anomaly time series #129

Open
signeaa opened this issue Sep 22, 2023 · 7 comments
Open

Add anomaly time series #129

signeaa opened this issue Sep 22, 2023 · 7 comments
Labels
enhancement New feature or request priority Prioritised issue

Comments

@signeaa
Copy link
Collaborator

signeaa commented Sep 22, 2023

For next development, it would be very useful to add the option of showing anomaly wrt 1981-2010 (or 1919-2020). It should be relatively "straight forward" I think ...(?)

@huaracheguarache
Copy link
Collaborator

Yes, calculating this should be relatively simple, but the question is how we're going to implement it in terms of an interface. I don't think we'll be able to implement it in the form of a button/dropdown menu to change between the regular view and the anomaly. That's because there is not a full overlap in the legends between the two views. I think we'll need to create a separate tool for this.

@huaracheguarache huaracheguarache added the enhancement New feature or request label Dec 21, 2023
@signeaa
Copy link
Collaborator Author

signeaa commented Jan 4, 2024

I see your point. Could a solution be to add a button on the original interface that switched to another tool page with a similar layout? That is, a button that works as a URL link to a different page. In this way, we could keep it simple with only the daily and monthly entrances. But with the buttons to switch between absolute and anomaly plots. Maybe this does not make sense or is not possible...

@huaracheguarache huaracheguarache added the priority Prioritised issue label Jan 4, 2024
@huaracheguarache
Copy link
Collaborator

Notes from last meeting: try to implement the anomaly view inside the existing tools for daily and monthly time series by using a dropdown/selection tool.

@signeaa
Copy link
Collaborator Author

signeaa commented Apr 2, 2024

Nothing new, but just uploaded a figure with monthly anomaly timeseries (the right subplot) which I find more and more useful. It is difficult to make a similar plot with the absolute values.
image004

@huaracheguarache
Copy link
Collaborator

Anomaly plots have now been added for daily plots in #148. Monthly anomalies are TBD.

@TomLav
Copy link
Collaborator

TomLav commented Jun 21, 2024

In the anomaly plot, the Hover tool:

  • change the text from "Index" to "Anomaly" (or "Anom." if too long).
  • always have a sign for the anomaly number.

@TomLav
Copy link
Collaborator

TomLav commented Jun 24, 2024

While testing the monthly anomaly plots, we realized C3S and others usually show the Relative Anomaly (%) not the Anomaly.

Anomaly [km^2]= Value - MonthlyMean

Relative Anomaly [%] = 100 * (Value - MonthlyMean) / MonthlyMean

We can thus develop 3 types of graphs: 1) Absolute values, 2) Anomalies, 3) Relative Anomalies. This is valid for daily and monthly plots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority Prioritised issue
Projects
None yet
Development

No branches or pull requests

3 participants