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 function and/or example for validation plots and metrics #65

Open
cchwala opened this issue Jul 24, 2024 · 2 comments · May be fixed by #72
Open

Add function and/or example for validation plots and metrics #65

cchwala opened this issue Jul 24, 2024 · 2 comments · May be fixed by #72
Assignees

Comments

@cchwala
Copy link
Member

cchwala commented Jul 24, 2024

Things we could add, based on discussion today:

  • scatter plot and hexbin plots plus metrics (some metrics are calculated in pycomlink)
  • take into consideration different thresholds, e.g. exclude zeros or values below 0.1mm/h
  • histogram plots from FPs, FNs etc
@maxmargraf
Copy link
Contributor

Here are some examples of plots and metric calculation from pycomlink:

  • This notebook contains a basic hexbin plot in cell 24.
  • Cell 25 of the same notebook shows the results of the function calc_rain_error_performance_metrics() from pycomlink calculating several performance metrics using a lower threshold for rainfall (for both reference and observed values). There is also calc_wet_dry_performance_metrics() in pycomlink which calculates binary metrics between two datasets, without the specification of a lower rainfall threshold
  • regarding a histogram from FPs and FNs shown here, I will try to provide a simple code snippet in the near future.

@maxmargraf
Copy link
Contributor

@bwalraven here is a longish example of the histogram plot mentioned above, but just looking at cell 12 and the following cells first few lines should give you the basic idea (which is not very complicated). Let me know if you have questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

3 participants