Implement metrics from doppyo
See original GitHub issuedoppyo
provides many metrics useful to climpred
.
Metrics:
- contingency
- many scores derived from contingency (table)
- rank histogram
- reliability (diagram)
- check ROC
- check RPS
Quick preview of Reliability diagram for DPLE SST tutorial data:
Issues with doppyo
metrics in climpred
:
- some
doppyo
requirements: windspharm - expects and returns
xr.DataArray
,climpred
classes expects and returnxr.Dataset
- some
doppyo
metrics returnxr.Dataset
with multiple data_vars (propose to returnxr.Dataset
orxr.DataArray
with new dimension of previous data_vars) dim
very similar toover_dims
Code base: https://github.com/csiro-dcfp/doppyo/blob/master/doppyo/skill.py
Trial notebook: https://gist.github.com/aaronspring/eef9496aad6516e6afcf3a89db35b0c9
Next steps:
- ask
doppyo
developers whether they would accept PRs fordoppyo
allowingxr.Datasets
also and having extra dims if needed - else implement in
climpred
- how to implement into climpred: threshold metric similar to brier_score_threshold
I can imagine doppyo
in a similar way as xskillscore
providing metrics to climpred.
Thoughts on how to proceed?
Issue Analytics
- State:
- Created 3 years ago
- Comments:15
Top Results From Across the Web
try doppyo metrics in climpred - gists · GitHub
try doppyo metrics in climpred. ... values to integrate over_dim : str Dimension to integrate x : xarray DataArray, optional Values to use...
Read more >What's New — climpred documentation
Implement new metrics which have been ported over from https://github.com/csiro-dcfp/doppyo/ to xskillscore by Dougie Squire. (GH#439, GH#456) Aaron Spring.
Read more >climpred/community - Gitter
I found that I implemented the probabilistic metrics wrong. I havent figured out a way to solve it. no need to review these...
Read more >Standard assessments of climate forecast skill can be ... - Nature
Abstract. Assessments of climate forecast skill depend on choices made by the assessor. In this perspective, we use forecasts of the El Niño- ......
Read more >Project: Single File Catalog - HackMD
Project: Single File Catalog. Overview; Deliverables - Functionality. esm-collection-spec side; intake-esm side. Milestones - Metrics (TODO); Timeline (TODO) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @aaronspring. I’ll try to start porting functions today and see how far I get.
Note also you can add to
setup.py
optional dependencies. So they could havewindspharm
as an optional dependency.https://stackoverflow.com/questions/10572603/specifying-optional-dependencies-in-pypi-python-setup-py