Published July 9, 2024 | Journal article | Version v1 | https://doi.org/10.21105/joss.06889

scores: A Python package for verifying and evaluating models and predictions with xarray

  • 1. Bureau of Meteorology, Australia
  • 2. Independent Contributor, Australia
  • 3. Work undertaken while at the Bureau of Meteorology, Australia

Files

joss.06889.pdf

Files (7.7 MB)

Name Size Download all
md5:729591a547ef0083a266d3a50832b814
249.3 kB Preview Download
md5:22d0789e515fb0e0cba048e560122e84
7.4 MB Preview Download

Additional details

Dates

Issued
July 9, 2024

References

  1. Leeuwenburg, T., Loveday, N., Ebert, E. E., Cook, H., Khanarmuei, M., Taggart, R. J., Ramanathan, N., Carroll, M., Chong, S., Griffiths, A., & Sharples, J. (2024). scores: A Python package for verifying and evaluating models and predictions with xarray (Version 0.9.3) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.12697242
  2. Brady, R., & Spring, A. (2021). climpred: Verification of weather and climate forecasts. Journal of Open Source Software, 6(59), 2781. https://doi.org/10.21105/joss.02781
  3. Griffiths, D., Foley, M., Ioannou, I., & Leeuwenburg, T. (2018). Flip‐Flop Index: Quantifying revision stability for fixed‐event forecasts. Meteorological Applications, 26(1), 30–35. https://doi.org/10.1002/met.1732
  4. Bell, R., Spring, A., Brady, R., A., Squire, D., Blackwood, Z., Sitter, M. C., & Chegini, T. (2021). xarray-contrib/xskillscore: Release v0.0.23 (Version v0.0.23) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.5173153
  5. Ehm, W., Gneiting, T., Jordan, A., & Krüger, F. (2016). Of Quantiles and Expectiles: Consistent Scoring Functions, Choquet Representations and Forecast Rankings. Journal of the Royal Statistical Society Series B: Statistical Methodology, 78(3), 505–562. https://doi.org/10.1111/rssb.12154
  6. Taggart, R., Loveday, N., & Griffiths, D. (2022). A scoring framework for tiered warnings and multicategorical forecasts based on fixed risk measures. Quarterly Journal of the Royal Meteorological Society, 148(744), 1389–1406. https://doi.org/10.1002/qj.4266
  7. Hering, A. S., & Genton, M. G. (2011). Comparing Spatial Predictions. Technometrics, 53(4), 414–425. https://doi.org/10.1198/tech.2011.10136
  8. Harvey, D., Leybourne, S., & Newbold, P. (1997). Testing the equality of prediction mean squared errors. International Journal of Forecasting, 13(2), 281–291. https://doi.org/10.1016/s0169-2070(96)00719-4
  9. Hoyer, S., & Hamman, J. (2017). xarray: N-D labeled Arrays and Datasets in Python. Journal of Open Research Software, 5(1), 10. https://doi.org/10.5334/jors.148
  10. Diebold, F. X., & Mariano, R. S. (1995). Comparing Predictive Accuracy. Journal of Business & Economic Statistics, 13(3), 253–263. https://doi.org/10.1080/07350015.1995.10524599
  11. Brown, B., Jensen, T., Gotway, J. H., Bullock, R., Gilleland, E., Fowler, T., Newman, K., Adriaansen, D., Blank, L., Burek, T., Harrold, M., Hertneky, T., Kalb, C., Kucera, P., Nance, L., Opatz, J., Vigh, J., & Wolff, J. (2021). The Model Evaluation Tools (MET): More than a Decade of Community-Supported Forecast Verification. Bulletin of the American Meteorological Society, 102(4), E782–E807. https://doi.org/10.1175/bams-d-19-0093.1
  12. Griffiths, D., Jack, H., Foley, M., Ioanna, I., & Liu, M. (2017). Advice for Automation of Forecasts: A Framework. In Bureau Research Report. Bureau of Meteorology. https://doi.org/10.22499/4.0021
  13. Foley, M., & Loveday, N. (2020). Comparison of Single-Valued Forecasts in a User-Oriented Framework. Weather and Forecasting, 35(3), 1067–1080. https://doi.org/10.1175/waf-d-19-0248.1
  14. Taggart, R. (2021). Evaluation of point forecasts for extreme events using consistent scoring functions. Quarterly Journal of the Royal Meteorological Society, 148(742), 306–320. https://doi.org/10.1002/qj.4206
  15. Taggart, R. J. (2022). Point forecasting and forecast evaluation with generalized Huber loss. Electronic Journal of Statistics, 16(1), 201–231. https://doi.org/10.1214/21-ejs1957
  16. Gneiting, T., & Ranjan, R. (2011). Comparing Density Forecasts Using Threshold- and Quantile-Weighted Scoring Rules. Journal of Business & Economic Statistics, 29(3), 411–422. https://doi.org/10.1198/jbes.2010.08110
  17. Taggart, R. (2022). Assessing calibration when predictive distributions have discontinuities. https://www.bom.gov.au/research/publications/researchreports/BRR-064.pdf
  18. Loveday, N., Taggart, R., & Khanarmuei, M. (2024). A User-Focused Approach to Evaluating Probabilistic and Categorical Forecasts. Weather and Forecasting, 39(8), 1163–1180. https://doi.org/10.1175/waf-d-23-0201.1
  19. Nipen, T. N., Stull, R. B., Lussana, C., & Seierstad, I. A. (2023). Verif: A Weather-Prediction Verification Tool for Effective Product Development. Bulletin of the American Meteorological Society, 104(9), E1610–E1618. https://doi.org/10.1175/bams-d-22-0253.1
  20. Dimitriadis, T., Gneiting, T., & Jordan, A. I. (2021). Stable reliability diagrams for probabilistic classifiers. Proceedings of the National Academy of Sciences, 118(8), Article e2016191118. https://doi.org/10.1073/pnas.2016191118
  21. Griffiths, D., Loveday, N., Price, B., Foley, M., & McKelvie, A. (2021). Circular Flip-Flop Index: quantifying revision stability of forecasts of direction. Journal of Southern Hemisphere Earth Systems Science, 71(3), 266–271. https://doi.org/10.1071/es21010
  22. Loveday, N., Griffiths, D., Leeuwenburg, T., Taggart, R., Pagano, T. C., Cheng, G., Plastow, K., Ebert, E., Templeton, C., Carroll, M., Khanarmuei, M., & Nagpal, I. (2024). The Jive Verification System and its Transformative Impact on Weather Forecasting Operations (Version 3). arXiv. https://doi.org/10.48550/arxiv.2404.18429
  23. Ferro, C. A. T. (2013). Fair scores for ensemble forecasts: Fair Scores for Ensemble Forecasts. Quarterly Journal of the Royal Meteorological Society, 140(683), 1917–1923. https://doi.org/10.1002/qj.2270
  24. Gneiting, T., & Raftery, A. E. (2007). Strictly Proper Scoring Rules, Prediction, and Estimation. Journal of the American Statistical Association, 102(477), 359–378. https://doi.org/10.1198/016214506000001437
  25. Pulkkinen, S., Nerini, D., Pérez Hortal, A. A., Velasco-Forero, C., Seed, A., Germann, U., & Foresti, L. (2019). Pysteps: an open-source Python library for probabilistic precipitation nowcasting (v1.0). Geoscientific Model Development, 12(10), 4185–4219. https://doi.org/10.5194/gmd-12-4185-2019

1–25 of 40

Citations

  1. Coelho, C. A. S., Brown, B., Wilson, L., Mittermaier, M., Casati, B., & Takaya, Y. (2026). Forecast verification for subseasonal-to-seasonal timescales. In Sub-seasonal to Seasonal Prediction (pp. 503–538). Elsevier. https://doi.org/10.1016/b978-0-443-31538-1.00024-5
  2. Laugesen, R., Thyer, M., McInerney, D., & Kavetski, D. (2026). Software library to quantify the value of forecasts for decision-making: Case study on sensitivity to damages. Environmental Modelling & Software, 196, 106697. https://doi.org/10.1016/j.envsoft.2025.106697
  3. Wolffram, D., Bracher, J., & Schienle, M. (2026). Integrating nowcasts into an ensemble of data-driven forecasting models for SARI hospitalizations in Germany. International Journal of Forecasting. https://doi.org/10.1016/j.ijforecast.2026.01.001
  4. https://doi.org/10.5194/esd-17-1177-2026
  5. https://doi.org/10.5194/gmd-19-10651-2026
  6. https://doi.org/10.5334/jors.729
  7. Pagano, T. C., Ebert, E. E., & Khanarmuei, M. (2025). Enhancing Forecast Verification in National Meteorological and Hydrological Services. Meteorological Applications, 32(3), Article e70051. https://doi.org/10.1002/met.70051
  8. Holmes, R., Richet, O., Hague, B., Smith, G., & Spillman, C. (2025). Seasonal outlooks for coastal high-tide flooding. Natural Hazards, 121(16), 18969–18996. https://doi.org/10.1007/s11069-025-07548-x
  9. Petravić, L., Gril Rogina, K., Albreht, T., Kukec, A., & Žibert, J. (2025). Prognostic models for predicting patient arrivals in emergency departments: an updated systematic review and research agenda. BMC Emergency Medicine, 25(1), Article 106. https://doi.org/10.1186/s12873-025-01250-8
  10. https://doi.org/10.5194/nhess-25-2657-2025