Skip to main content

A package for calculating skill of model predictions against observations

Project description

This package contains a collection of functions for calculating the skill of model predictions against observations. It includes metrics such as root-mean-square-error (RMSE) difference, centered root-mean-square (RMS) difference, and skill score (SS), as well as a collection of functions for producing target and Taylor diagrams. The more valuable feature of the package are the plotting functions for target and Taylor diagrams and the ability to easily customize the diagrams.

A primer on Taylor diagrams as well as an “Examples” folder that contains a collection of example Python scripts showing how to produce target and Taylor diagrams in a variety of formats is available via a GitHub Wiki at https://github.com/PeterRochford/SkillMetrics/wiki. There are 6 examples for target diagrams and 7 examples for Taylor diagrams that successively progress from very simple to more customized figures. These series of examples provide an easy tutorial on how to use the various options of the target_diagram and taylor_diagram functions. They also provide a quick reference in future for how to produce the diagrams with specific features. The diagrams produced by each script are in Portable Network Graphics (PNG) format and have the same file name as the script with a “png” suffix. Examples of the diagrams produced can be found on the Wiki.

There is also a simple program “all_stats.m” available via the Wiki that provides examples of how to calculate the various skill metrics used or available in the package. All the calculated skill metrics are written to an Excel file for easy viewing and manipulation. The Python code is kept to a minimum.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SkillMetrics-1.1.2.tar.gz (36.3 kB view hashes)

Uploaded Source

Built Distribution

SkillMetrics-1.1.2-py2-none-any.whl (43.7 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page