This page describes a simple ModelSkill workflow when model results and observations are already matched. See workflow page for a more elaborate workflow.
Installation
pip install modelskill
Skill assessment
The simplest use-case for skill assessment is when you have a dataset of matched model results and observations in tabular format.
import pandas as pdimport modelskill as msdf = pd.read_csv("../data/Vistula/sim1/6158100.csv", parse_dates=True, index_col="Date")df.head()
A time series plot is a common way to visualize the comparison.
cmp.plot.timeseries()
Another more quantitative way to analyze the compared data is to use a scatter plot, which optionally includes a skill table (Definition of the metrics).
cmp.plot.scatter(skill_table=True)
The skill table can also be produced in tabular format, including specifing other metrics.