Skip to content

Target Diagram Example 1

PeterRochford edited this page Dec 21, 2016 · 2 revisions

A first example of how to create a simple target diagram given one set of reference observations and multiple model predictions for the quantity. The Matlab code is kept to a minimum.

This example shows how to calculate the required statistics and produce the target diagram. All functions in the Skill Metrics Toolbox are designed to only work with one-dimensional arrays, e.g. time series of observations at a selected location. The one-dimensional data are read in as data structures via a mat file. The latter are stored in data structures in the format: ref.data, pred1.data, pred2.data, and pred3.data. The plot is written to a file in Portable Network Graphics (PNG) format.

The reference data used in this example are cell concentrations of a phytoplankton collected from cruise surveys at selected locations and time. The model predictions are from three different simulations that have been space-time interpolated to the location and time of the sample collection.